💼 This rule is enabled in the following configs: ☑️ recommended
, 🔒 strict
.
Ensure the autocomplete attribute is correct and suitable for the form field it is used with.
This rule takes one optional object argument of type object:
{
"rules": {
"jsx-a11y/autocomplete-valid": [ 2, {
"inputComponents": ["Input", "FormField"]
}],
}
}
```jsx
```jsx