Closed
Description
In v2.x version we need to remove the deprecated fields. You can use the input
field with inputType
property instead of them.
Deprecated fields:
-
color
Change{ type: "color" }
to{ type: "input", inputType: "color" }
-
email
Change{ type: "email" }
to{ type: "input", inputType: "email" }
-
number
Change{ type: "number" }
to{ type: "input", inputType: "number" }
-
password
Change{ type: "password" }
to{ type: "input", inputType: "password" }
-
range
Change{ type: "range" }
to{ type: "input", inputType: "range" }
-
text
Change{ type: "text" }
to{ type: "input", inputType: "text" }
-
update docs & readme