Skip to content
#

react-components

Here are 2,925 public repositories matching this topic...

material-ui
baseweb
cobaltwhite
cobaltwhite commented Aug 20, 2020

<Select /> and <DatePicker /> don't offer the option of accessing name, id and other props once the onChange handler triggers. An event object with this information is accessible in the onChange handler for <Input />.

Feature description

Provide access to these variables for Select and DatePicker. It is needed when the component is being passed handler functions from an

chungwu
chungwu commented May 7, 2021

🐛 Bug Report

useMenuTrigger() does take in an isDisabled prop, but it's only used in the returned onKeyDown() handler. The onPress() handler seems to ignore it entirely:

      onPress(e) {
        if (e.pointerType === 'touch') {
          state.toggle();
        }
      },

Should this be ignoring the press when disabled?

🤔 Expected Behavior

When isDisab

beautiful-react-hooks

Improve this page

Add a description, image, and links to the react-components topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the react-components topic, visit your repo's landing page and select "manage topics."

Learn more