英文:
Textarea visual element?
问题
恭喜你们辛勤工作!Taipy是一个很棒的工具箱,可以让我们更轻松地用Python构建Web应用程序。我们目前正在为一个NLP POC构建一个小型演示程序。我们希望用户能够输入一些文本行,就像在HTML中使用
英文:
Before all, congrats for the hard work ! Taipy is a wonderful toolbox to play around with and will be a great time-saver for us to build webapps with python 🙂
We are currently building a small demonstrator for a NLP POC. We would like the user to be able to input some lines of text, like what can be done in HTML with <textarea>.
Is it possible to customize the taipy input control to have multiple lines ? (via properties ?). If not, is a textarea-like input planned in a future release ? I strongly advocate for it as it would be very useful.
Thanks in advance
答案1
得分: 0
这个属性存在于input属性中。它叫做multiline;你也可以通过lines_shown更改行数。
<|{text_variable}|input|multiline|>
你可以查看此处的文档。我也建议浏览我们的发布说明以查看对Taipy进行的所有更改。
英文:
This property exists in the input properties. It is called multiline; you can also change the number of lines through lines_shown.
<|{text_variable}|input|multiline|>
You can check the documentation here. I also recommend browsing through our Release Notes to see all the changes that was done to Taipy.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论