stable

Clone or download

Read-only

ListPicker updates its state accordingly to the source select disabled attribute

With this change it is now possible to disable an active select (or the other way around) when ListPicker is used. Until now only the state when initializing ListPicker was taken into account. This change is needed for the export configuration modal so we can activate fields once the user has selected other required fields. The easiest way to test this change is to play around in the tlp-doc page. Part of story #23469: export reports with linked artifact in xlsx format Change-Id: I590019c0f6199bb65bdcf1446ec6f6b64778ae8e

Modified Files

Name
M lib/frontend/list-picker/src/events/EventManager.test.ts +2 −17 Go to diff View file
M lib/frontend/list-picker/src/events/EventManager.ts +82 −25 Go to diff View file
M lib/frontend/list-picker/src/events/ListOptionsChangesObserver.test.ts +18 −4 Go to diff View file
M lib/frontend/list-picker/src/events/ListOptionsChangesObserver.ts +3 −1 Go to diff View file
M lib/frontend/list-picker/src/list-picker.ts +3 −1 Go to diff View file
M lib/frontend/list-picker/src/renderers/BaseComponentRenderer.ts +63 −24 Go to diff View file
M lib/frontend/list-picker/src/type.ts +1 −0 Go to diff View file