adding the type number

This commit is contained in:
Mohammad Khalilzadeh committed 2024-08-24 10:11:13 +03:30
1 parent d81bb8fe89
commit f5e589886b
1 file changed
+8 -1
+8 -1
View File
@@ -177,7 +177,14 @@ const Field = forwardRef(
);
Field.propTypes = {
type: PropTypes.oneOf(["text", "password", "url", "email", "description"]),
type: PropTypes.oneOf([
"text",
"password",
"url",
"email",
"description",
"number",
]),
id: PropTypes.string.isRequired,
label: PropTypes.string,
https: PropTypes.bool,