How to control TextField only input the number? #951
              
                Unanswered
              
          
                  
                    
                      Ben2022-cell
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 2 replies
-
| The Keyboard type is not meant for that. And also, your code has no error. | 
Beta Was this translation helpful? Give feedback.
                  
                    2 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.
-
Hi,
I require control the input text only is number, the code i setting the keyboard_type is number, but there can be input the number and other text, if has others solution or my code has some error?
`import flet as ft
def main(page: ft.Page):
text = ft.Text()
ft.app(target=main)`
Beta Was this translation helpful? Give feedback.
All reactions