feathersui-openfl icon indicating copy to clipboard operation
feathersui-openfl copied to clipboard

Option to hide TextInput prompt on focus

Open nadako opened this issue 3 years ago • 1 comments

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?

nadako avatar Jun 22 '22 13:06 nadako

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.

joshtynjala avatar Jun 22 '22 15:06 joshtynjala