feathersui-openfl
feathersui-openfl copied to clipboard
Option to hide TextInput prompt on focus
Currently, TextInput always shows the prompt text when text is empty, even if the input is focused and input cursor is blinking. It would be nice to have an option to also hide the prompt on focus.
I assume this can be achieved right now by subclassing TextInput and overriding refreshPrompt, but it's not very nice, so maybe a boolean configuration field could be added?
Yes, it's the intended design that the prompt always remains visible until the user enters some text. However, I will consider an option for hiding it when focused, even when there is no text.