Skip to content

Commit

Permalink
fixed css visual tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smmr-dn committed Sep 20, 2024
1 parent 3f04c63 commit 5647725
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/css-workshop/src/components/Checkbox.astro
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const inputProps = {
indeterminate: indeterminate,
type: 'checkbox',
'data-iui-loading': isLoading ? 'true' : undefined,
'data-iui-disabled': disabled ? 'true' : undefined,
disabled: disabled,
...props,
} as astroHTML.JSX.InputHTMLAttributes;
---
Expand Down
2 changes: 1 addition & 1 deletion apps/css-workshop/src/components/Radio.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const { disabled, status, class: className, labelPosition = 'right', ...props }
<input
class:list={['iui-checkbox', 'iui-radio', className]}
type='radio'
data-iui-disabled={disabled ? 'true' : undefined}
disabled={disabled}
{...props}
/>
{
Expand Down

0 comments on commit 5647725

Please sign in to comment.