You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Adding aria-hidden because the listbox item in multiselect in itself explains the behaviour so announcing checkbox is unneccesary and just a nice UI tweak for us
Checkbox requires children. Didn't want to make it optional because its helpful for consumers
277
+
But for this case in particular, we just want to use Text separately so that we can control spacing and color and keep it consistent with non-multiselect dropdowns
278
+
*/}
279
+
{null}
280
+
</Checkbox>
281
+
</BaseBox>
282
+
);
283
+
}
284
+
returnReact.isValidElement(leading) ? leading : null;
// Adding aria-hidden because the listbox item in multiselect in itself explains the behaviour so announcing checkbox is unneccesary and just a nice UI tweak for us
Checkbox requires children. Didn't want to make it optional because its helpful for consumers
373
-
But for this case in particular, we just want to use Text separately so that we can control spacing and color and keep it consistent with non-multiselect dropdowns
* Apart from dropdownTriggerer prop, we also set this boolean because in BottomSheet, the initial trigger can be Select but also have autocomplete inside of it
0 commit comments