new exports.Input(type, onChange, label, feedback, invalidFeedback, size, value, name, focus, htmlAttributes)
Input component:
Param | Type | Description |
---|---|---|
type | string |
text, password, datetime, datetime-local, date, month, time, week, number, email, url, search, tel, and color. |
onChange | function |
Show onChange |
label | string |
label for input |
feedback | string |
Show help |
invalidFeedback | string |
Show error |
size | string |
One of sm, md, lg |
value | unknown |
Input value |
name | string |
Input name |
focus | boolean |
autofocus |
htmlAttributes | unknown |