stable
Clone or download
Read-only
part of: story #16645 have searchable (multi) select boxes with (static binding, no dependencies) How to test: - Pick up a mandatory single ListPicker - Remove its value or select "None" --> It enters in error state --> It leaves the error state when you select a value - Pick up a mandatory multi ListPicker - Remove its values or select "None" --> It enters the error state --> It leaves the error state when you select some values without selecting "None" Also, the form validators should do their job if a ListPicker is in error state while the form has been submitted (submition blocked, validity message displayed on fields) Change-Id: I53f56ba9a73ee1dcfd0216f8376927c5b77b1ad3
Modified Files
Name | ||||
---|---|---|---|---|
M | src/scripts/list-picker/src/helpers/EventManager.test.ts | +18 | −0 | Go to diff View file |
M | src/scripts/list-picker/src/helpers/EventManager.ts | +13 | −0 | Go to diff View file |
M | src/scripts/list-picker/src/selection/MultipleSelectionManager.test.ts | +13 | −0 | Go to diff View file |
M | src/scripts/list-picker/src/selection/MultipleSelectionManager.ts | +11 | −2 | Go to diff View file |
M | src/scripts/list-picker/src/selection/SingleSelectionManager.test.ts | +10 | −0 | Go to diff View file |
M | src/scripts/list-picker/src/selection/SingleSelectionManager.ts | +3 | −0 | Go to diff View file |
A | src/scripts/list-picker/src/test-helpers/selection-manager-test-helpers.ts | +34 | −0 | Go to diff View file |
M | src/themes/FlamingParrot/css/utils/_list-picker.scss | +13 | −0 | Go to diff View file |