Hi,
Because Input don't have "On Focus Out", it is any alternative to use it?
My case:
I populate my input with a text "sample".
When user click on input, it become blank.
I want that if the input remain blank and user go to another input, to write back "sample" in that input.
Using "On key" and "On char" is buggy because don't cover all situations and if you delete everything will appear "sample" and when you press "a" (or any KEY), you'll get "asample" (or "KEYsample").
There is any alternative?
Thank you!
Because Input don't have "On Focus Out", it is any alternative to use it?
My case:
I populate my input with a text "sample".
When user click on input, it become blank.
I want that if the input remain blank and user go to another input, to write back "sample" in that input.
Using "On key" and "On char" is buggy because don't cover all situations and if you delete everything will appear "sample" and when you press "a" (or any KEY), you'll get "asample" (or "KEYsample").
There is any alternative?
Thank you!
Comment