seas-computing / mark-one

A UI component library for building React Apps (in development)
https://seas-computing.github.io/mark-one/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

TextInput & Dropdown: Add forwardRef prop to add ability to shift focus to these components #67

Closed natalynyu closed 4 years ago

natalynyu commented 4 years ago

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

Checklist:

Priority:

Related Issues:

Addresses #235