Skip to content

Commit

Permalink
fix(Select): disabled for options (#7622)
Browse files Browse the repository at this point in the history
disabled не прокидывается в option
  • Loading branch information
SevereCloud authored Sep 19, 2024
1 parent f22b76b commit 1ebfe43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vkui/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export const Select = <OptionT extends CustomSelectOptionInterface>({
className={classNames(className, deviceType.mobile.className)}
{...nativeProps}
>
{options.map(({ label, value }) => (
<option value={value} key={`${value}`}>
{options.map(({ label, value, disabled }) => (
<option value={value} key={`${value}`} disabled={disabled}>
{label}
</option>
))}
Expand Down

0 comments on commit 1ebfe43

Please sign in to comment.