In NumbersOnlyInputFilter i want to insert float but i am not able to to do please help #3716
Unanswered
pamraman2009
asked this question in
Q&A
Replies: 1 comment
-
import flet as ft
def main(page: ft.Page):
page.add(
ft.TextField(input_filter=ft.InputFilter(regex_string=r"^[\d.]+$", allow=True)). # or r"^(\d+(\.\d*)?|\.\d+)$" - search the internet for the best one with your use case
)
ft.app(target=main) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions