Closed tulup-conner closed 7 months ago
All of the other form components provide an implicit type=".." field so this one should, too. It is implied by the name that this will be an <input type="text"> by default, and you have the option to provide a specific other type.
type=".."
<input type="text">
type
Make <TextInput>s slightly more convenient when the type="text", since "Text input" implies that.
<TextInput>
type="text"
No breaking changes! type="text" typed explicitly will still work, but won't be necessary anymore. Explicit type="search", etc. will work the same.
type="search"
The latest updates on your projects. Learn more about Vercel for Git ↗︎
All of the other form components provide an implicit
type=".."
field so this one should, too. It is implied by the name that this will be an<input type="text">
by default, and you have the option to provide a specific othertype
.Make
<TextInput>
s slightly more convenient when thetype="text"
, since "Text input" implies that.No breaking changes!
type="text"
typed explicitly will still work, but won't be necessary anymore. Explicittype="search"
, etc. will work the same.