You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While playing around with this example, I noticed that the "Return" key is allowed to add line breaks to the telephone number. That does not feel like it is intended.
(For my own use I got rid of this by having multiline = false in the options of the input component, see
I also noticed this problem, by default it is in multiline mode (in my case it is totally inconvenient since I have many cells where parameters are filled with keywords).
But there is a simple solution without the need to edit the source code:
Hi there,
I was looking around how to have a number-only input field in ftxui 5.0.0 and came across the
input
example:FTXUI/examples/component/input.cpp
Lines 34 to 41 in 5a9ef87
While playing around with this example, I noticed that the "Return" key is allowed to add line breaks to the telephone number. That does not feel like it is intended.
(For my own use I got rid of this by having
multiline = false
in the options of the input component, seeFTXUI/src/ftxui/component/input.cpp
Lines 346 to 349 in 5a9ef87
The text was updated successfully, but these errors were encountered: