We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7a57d commit 74d2b08Copy full SHA for 74d2b08
packages/react-aria-components/src/ColorField.tsx
@@ -222,7 +222,9 @@ function useChildren(
222
slot={props.slot || undefined}
223
data-channel={props.channel || 'hex'}
224
data-disabled={props.isDisabled || undefined}
225
- data-invalid={validation.isInvalid || undefined} />
+ data-invalid={validation.isInvalid || undefined}
226
+ data-readonly={props.isReadOnly || undefined}
227
+ data-required={props.isRequired || undefined} />
228
</Provider>
229
);
230
}
0 commit comments