When label is set to false and the input has an error, the following warning is logged
Warning: Received `false` for a non-boolean attribute `label`.
If you want to write it to the DOM, pass a string instead: label="false" or label={value.toString()}.
We're filtering invalid DOM props from the span, but label is a valid prop (the value for label isn't though)
When label is set to
false
and the input has an error, the following warning is loggedWe're filtering invalid DOM props from the
span
, butlabel
is a valid prop (the value for label isn't though)