UraniumUI icon indicating copy to clipboard operation
UraniumUI copied to clipboard

TextField: Clear button only visible after TextChanged

Open get-flat opened this issue 3 years ago • 0 comments

Clear Button behavior is different for MAUI Entry and Uranium Material TextField.

For TextField Clear Button visibility is updated in TextChanged event. Clear Button is not visible for TextField if we set TextField.Text in XAML like this:

<!--WORKS-->
<Entry Text="ENTRY" ClearButtonVisibility="WhileEditing" />
<!--DOES NOT WORK-->
<material:TextField Text="URANIUM" AllowClear="True" />

get-flat avatar Feb 21 '23 08:02 get-flat