File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/pluggableWidgets/combobox-web/src/components Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ export function MultiSelection({
141
141
{ ...inputProps }
142
142
aria-labelledby = { hasLabel ? inputProps [ "aria-labelledby" ] : undefined }
143
143
aria-describedby = { selector . validation ? options . inputId + "-error" : undefined }
144
- aria-invalid = { ! ! selector . validation }
144
+ aria-invalid = { selector . validation ? true : undefined }
145
145
/>
146
146
< InputPlaceholder isEmpty = { selectedItems . length <= 0 } > { memoizedselectedCaptions } </ InputPlaceholder >
147
147
</ div >
Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ export function SingleSelection({
94
94
placeholder = " "
95
95
aria-labelledby = { hasLabel ? inputProps [ "aria-labelledby" ] : undefined }
96
96
aria-describedby = { selector . validation ? options . inputId + "-error" : undefined }
97
- aria-invalid = { ! ! selector . validation }
97
+ aria-invalid = { selector . validation ? true : undefined }
98
98
/>
99
99
< InputPlaceholder
100
100
isEmpty = { ! selector . currentId || ! selector . caption . render ( selectedItem , "label" ) }
You can’t perform that action at this time.
0 commit comments