3 ms·
You could potentially use the validation rules, and set a min length of 1.
by uitgewis 9y ago
You could potentially use the validation rules, and set a min length of 1.
- KwanEsq 9y agoYou'd need [required] instead of [minlength] for :valid to work. The other option is :placeholder-shown, to style no-input normally, but it's newer and not as supported.