how to set a default 'enter' on a certain button

后端 未结 6 1873
萌比男神i
萌比男神i 2020-12-01 11:47

There is a textbox on a ContentPage. When the user presses Enter in that textbox I am trying to fire a \'Submit\' button on this ContentPage. I\'d like to fire off that part

6条回答
  •  我在风中等你
    2020-12-01 12:04

    You can now use UseSubmitBehavior property to disable all the buttons you don't want to fire when hitting submit (check out the documentation for more info)

        
    

提交回复
热议问题