-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(input): add type description #794
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
LGTM ;) |
docs/content/3.forms/1.input.md
Outdated
### Type | ||
|
||
Use the `type` prop to change the input type, the default `type` is set to `text`, you can check all the available types at [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#input_types). | ||
|
||
We have improved the implementation of certain types such as [Checkbox](/forms/checkbox), [Radio](/forms/radio), etc. | ||
|
||
::component-card | ||
--- | ||
baseProps: | ||
name: 'input' | ||
props: | ||
type: 'password' | ||
--- | ||
:: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, but I think it's good to add this after style or size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, moved it.
Thanks π |
π Linked issue
β Type of change
π Description
Add description for input types
π Checklist