adding the type number
This commit is contained in:
1 parent
d81bb8fe89
commit
f5e589886b
1 file changed
+8
-1
@@ -177,7 +177,14 @@ const Field = forwardRef(
|
|||||||
);
|
);
|
||||||
|
|
||||||
Field.propTypes = {
|
Field.propTypes = {
|
||||||
type: PropTypes.oneOf(["text", "password", "url", "email", "description"]),
|
type: PropTypes.oneOf([
|
||||||
|
"text",
|
||||||
|
"password",
|
||||||
|
"url",
|
||||||
|
"email",
|
||||||
|
"description",
|
||||||
|
"number",
|
||||||
|
]),
|
||||||
id: PropTypes.string.isRequired,
|
id: PropTypes.string.isRequired,
|
||||||
label: PropTypes.string,
|
label: PropTypes.string,
|
||||||
https: PropTypes.bool,
|
https: PropTypes.bool,
|
||||||
|
|||||||
Reference in new issue
Block a user