This pull request adds an optional forwardRef prop to the TextInput and Dropdown components. This will allow us to shift the focus to these components, and this change was motivated by making our Course Planning modals more accessible. Examples of doing this are included in the TextInput and Dropdown markdown files.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality
to change)
Checklist:
[x] I have run eslint on the code
[x] I have added JSDoc for all of my code (where applicable)
This pull request adds an optional
forwardRef
prop to theTextInput
andDropdown
components. This will allow us to shift the focus to these components, and this change was motivated by making ourCourse Planning
modals more accessible. Examples of doing this are included in theTextInput
andDropdown
markdown files.Types of changes
Checklist:
eslint
on the codePriority:
Related Issues:
Addresses #235