You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument of type '{ passwordrules: string; }' is not assignable to parameter of type 'HTMLProps<"input", HTMLAttributes<any>>'. Object literal may only specify known properties, and '"passwordrules"' does not exist in type 'HTMLProps<"input", HTMLAttributes<any>>'.
🙁 Actual behavior
TS does not recognise the passwordrules attribute
🙂 Expected behavior
TS should recognise the passwordrules attribute
The text was updated successfully, but these errors were encountered:
🔎 Search Terms
typescript passwordrules
🕗 Version & Regression Information
Version: 4.5.4
💻 Code
<input passwordrules="minlength: 15; required: lower; required: upper; required: digit; required: [-];" />
Error message:
Argument of type '{ passwordrules: string; }' is not assignable to parameter of type 'HTMLProps<"input", HTMLAttributes<any>>'. Object literal may only specify known properties, and '"passwordrules"' does not exist in type 'HTMLProps<"input", HTMLAttributes<any>>'.
🙁 Actual behavior
TS does not recognise the
passwordrules
attribute🙂 Expected behavior
TS should recognise the
passwordrules
attributeThe text was updated successfully, but these errors were encountered: