We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1597ee6 commit b7839e6Copy full SHA for b7839e6
1 file changed
components/dash-core-components/src/fragments/Dropdown.tsx
@@ -289,7 +289,7 @@ const Dropdown = (props: DropdownProps) => {
289
}
290
291
const focusableElements = e.currentTarget.querySelectorAll(
292
- 'input[type="search"], input[type="checkbox"]:not([disabled])'
+ 'input[type="search"], input:not([disabled])'
293
) as NodeListOf<HTMLElement>;
294
295
// Don't interfere with the event if there aren't any options that the user can interact with
@@ -505,6 +505,7 @@ const Dropdown = (props: DropdownProps) => {
505
options={displayOptions}
506
selected={sanitizedValues}
507
onSelectionChange={updateSelection}
508
+ inputType={multi ? 'checkbox' : 'radio'}
509
className="dash-dropdown-options"
510
optionClassName="dash-dropdown-option"
511
optionStyle={{
0 commit comments