How can I remove the clear button of text-box on windows? #10377
-
On react native windows: the text-input on windows, it's show the clear button, I want to remove it. What's the way to remove the clear button? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The clear button is part of the native control and by default the TextInput control brings with it those native control assumptions. Can you clarify more why you're interested in removing the clear button and what your scenario is? If you're interested in learning when and why it appears, there's some info in the TextBox docs |
Beta Was this translation helpful? Give feedback.
-
Hello, any news on how to customize/override this icon? Like this https://learn.microsoft.com/en-us/microsoft-edge/web-platform/password-reveal |
Beta Was this translation helpful? Give feedback.
The clear button is part of the native control and by default the TextInput control brings with it those native control assumptions. Can you clarify more why you're interested in removing the clear button and what your scenario is?
If you're interested in learning when and why it appears, there's some info in the TextBox docs