Merge pull request #26 from ONLYOFFICE/bugfix/text-input
Web:TextInput: Fixed type props warning
This commit is contained in:
commit
e9bf8a8d2e
@ -21,7 +21,7 @@ TextInput.propTypes = {
|
||||
/** Used as HTML `name` property */
|
||||
name: PropTypes.string,
|
||||
/** Supported type of the input fields. */
|
||||
type: PropTypes.oneOf(["text", "password", "email", "tel"]),
|
||||
type: PropTypes.oneOf(["text", "password", "email", "tel", "search"]),
|
||||
/** Value of the input */
|
||||
value: PropTypes.string.isRequired,
|
||||
/** Default maxLength value of the input */
|
||||
|
Loading…
Reference in New Issue
Block a user