How to accept only number in the flet textfield ? #1650
Replies: 2 comments 2 replies
-
You can use:max_length=1 |
Beta Was this translation helpful? Give feedback.
-
At the moment Flet doesn't have an ideal way to do this. There were several tries for this using Good to mention: the effect of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I want to know how to make a textfield in flet that accept only number . I have used attribute
keyboard_type=ft.KeyboardType.NUMBER
, however it is not working.Please suggest.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions