Closed wwuck closed 11 years ago
I think it would be best if usePlaceholder was changed to get the placeholder data from the placeholder attribute instead of the associated <label> element. This is what would occur if the placeholder attribute was used on a native text input.
placeholder
<label>
Eg.
<input type="date" placeholder="Date input field" />
Good call - I remembered to look at "title" first, but I forgot about the new(er) "placeholder"
Closed by SHA: 6e6bae8be2fc185423f53923e1c6506b77ab9c3b
I think it would be best if usePlaceholder was changed to get the placeholder data from the
placeholder
attribute instead of the associated<label>
element. This is what would occur if the placeholder attribute was used on a native text input.Eg.