This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
react-a11y-no-onchange should allow onChange when onBlur is present #836
Labels
Difficulty: Easy
Someone with little to no experience in TSLint should be able to send a pull request for this issue.
Good First Issue 🙌
Howdy, neighbor!
Status: Accepting PRs
Type: Bug
Milestone
Bug Report
tslint-microsoft-contrib
version: 6.0.0TypeScript code being linted
with
tslint.json
configuration:Actual behavior
react-a11y-no-onchange: onChange event handler should not be used with the <select>. Please use onBlur instead.
Expected behavior
onChange is required for controlled components. See also eslint, which allows onChange as long as onBlur exists
The text was updated successfully, but these errors were encountered: