Skip to content

Commit

Permalink
fix(select): fix prop not working properly on hidden select input
Browse files Browse the repository at this point in the history
  • Loading branch information
royeden committed Dec 23, 2024
1 parent 9abd5d0 commit 4e0c76a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/select/hidden-select-base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ export function HiddenSelectBase(props: HiddenSelectBaseProps) {
disabled={formControlContext.isDisabled()}
readOnly={formControlContext.isReadOnly()}
onFocus={() => local.focusTrigger()}
value={local.selectionManager.firstSelectedKey() ?? ""}
/>
<select
ref={mergeRefs((el) => (ref = el), local.ref)}
Expand Down

0 comments on commit 4e0c76a

Please sign in to comment.