Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文本字段值为“这是一个长文本。这可以去二线吗?
是否可以自动换行文本字段。基本上如果文本太长,有没有办法把它换到第二行。
我知道我可以使用 textarea,但如果值很短,它会占用太多空间(高度)。如果文本字段太长(长到只能进入第二行),我找不到在文本字段上包装值的方法。
谢谢