diff --git a/src/chakra-components/control.tsx b/src/chakra-components/control.tsx index 17f4679..a647a8f 100644 --- a/src/chakra-components/control.tsx +++ b/src/chakra-components/control.tsx @@ -98,7 +98,7 @@ const Control = < data-focus-visible={isFocused ? true : undefined} data-invalid={isInvalid ? true : undefined} data-disabled={isDisabled ? true : undefined} - aria-readonly={isReadOnly ? true : undefined} + data-readonly={isReadOnly ? true : undefined} > {children} @@ -139,10 +139,11 @@ export const IndicatorSeparator = < /** * Borrowed from the `@chakra-ui/icons` package to prevent needing it as a dependency * - * @see {@link https://github.com/chakra-ui/chakra-ui/blob/main/packages/icons/src/ChevronDown.tsx} + * @see {@link https://github.com/chakra-ui/chakra-ui/blob/61f965a/packages/components/icons/src/ChevronDown.tsx} + * @see {@link https://github.com/chakra-ui/chakra-ui/blob/61f965a/packages/components/select/src/select.tsx#L168-L179} */ export const DownChevron = (props: IconProps) => ( - +