Skip to content

Commit

Permalink
[@mantine/dates] DatePickerInput: Fix dropdown staying opened after t…
Browse files Browse the repository at this point in the history
…he `disabled` prop has been set (#7017)
  • Loading branch information
Kenzo-Wada authored Oct 23, 2024
1 parent 3135039 commit e6b4fe4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export const DateTimePicker = factory<DateTimePickerFactory>((_props, ref) => {
return (
<PickerInputBase
formattedValue={formattedValue}
dropdownOpened={dropdownOpened}
dropdownOpened={!rest.disabled ? dropdownOpened : false}
dropdownHandlers={dropdownHandlers}
classNames={resolvedClassNames}
styles={resolvedStyles}
Expand Down

0 comments on commit e6b4fe4

Please sign in to comment.