Skip to content

Commit da2aa74

Browse files
authored
adding aria-disabled to tagProps (#2815)
1 parent 376a1eb commit da2aa74

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@react-aria/tag/src/useTag.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export function useTag(props: TagProps<any>, state: GridState<any, any>): TagAri
7979
},
8080
tagRowProps: otherRowProps,
8181
tagProps: mergeProps(domProps, gridCellProps, {
82+
'aria-disabled': isDisabled,
8283
'aria-errormessage': props['aria-errormessage'],
8384
'aria-label': props['aria-label'],
8485
onKeyDown: !isDisabled && isRemovable ? onKeyDown : null,

0 commit comments

Comments
 (0)