Skip to content

Commit

Permalink
passing autoComplete prop from Select to underlying child component (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
nabanitabania authored Dec 4, 2024
1 parent 494e01c commit 7eae25e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react-aria-components/src/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ function SelectInner<T extends object>({props, selectRef: ref, collection}: Sele
data-invalid={validation.isInvalid || undefined}
data-required={props.isRequired || undefined} />
<HiddenSelect
autoComplete={props.autoComplete}
state={state}
triggerRef={buttonRef}
label={label}
Expand Down

1 comment on commit 7eae25e

@rspbot
Copy link

@rspbot rspbot commented on 7eae25e Dec 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.