Skip to content

Commit

Permalink
🚑 - fix: hotfix for various issues introduced in 0.0.42
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvandescheur committed Jan 23, 2025
1 parent e15aaea commit b9d736f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/components/form/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ export const Select: React.FC<SelectProps> = ({
tabIndex={0}
ref={refs.setReference}
aria-autocomplete="none"
aria-label={label || undefined}
title={label || undefined}
aria-hidden={hidden}
onBlur={handleBlur}
{...getReferenceProps()}
Expand All @@ -237,7 +237,7 @@ export const Select: React.FC<SelectProps> = ({
name={name}
defaultValue={selectedOptionValue}
hidden={true}
aria-label=""
aria-label={label}
form={form}
>
{(selectedOptionValue && (
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/dialog/useformdialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const useFormDialog = <T extends object = object>() => {
labelCancel={labelCancel}
onConfirm={onConfirm}
onCancel={onCancel}
formProps={formProps}
formProps={{ "aria-label": title, ...formProps }}
autofocus={autofocus}
/>
</>,
Expand Down

0 comments on commit b9d736f

Please sign in to comment.