Open
Description
Steps to Reproduce:
- Make a Text field in a MAUI application
- Make a test to go into the application with app.Repl()
- on the page with the text field do the command of app.ClearText("{ElementId}")
Actual Results:
The field is selected but the text does not get cleared
Expected Results:
The text is cleared in the field that the command is used on
Note:
- This works in a Xamarin app as expected, it is just a Maui app issue
- There is a workaround using app.Query(Chain(GetQuery(), x => x.Invoke("setText", string.Empty))) but I would like to have the function back
- There is also a 2nd workaround by adding:
controls:MaterialTextBoxEntry.Behaviors
<toolkit:SelectAllTextBehavior />
</controls:MaterialTextBoxEntry.Behaviors>
on the text entry field element on a XAML file but again I would like to have the function back.
Thank you for looking into this!