stable
Clone or download
Read-only
request #25354 Double list picker on list field
How to test: 1. Make sure list-picker feature flag is active 2. Create an artifact with a list field set to "None" 3. Make the list field "required" in tracker admin 4. Set up a field dependency so the list field is "target" When you edit the artifact, the list field should be "in edition" because it's required and empty. When you click to edit the "source" of the field dependency, the list field should only have one list-picker. Without this patch, there were two list-pickers for the same field. Change-Id: Iacd633bbafd9833b21b8c2181f4a4d1f96e4b51a
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tracker/scripts/artifact/ListPickersCreator.test.ts | +228 | −0 | Go to diff View file |
A | plugins/tracker/scripts/artifact/ListPickersCreator.ts | +123 | −0 | Go to diff View file |
A | plugins/tracker/scripts/artifact/SelectWrappedByListPickerStore.test.ts | +32 | −0 | Go to diff View file |
A | plugins/tracker/scripts/artifact/SelectWrappedByListPickerStore.ts | +37 | −0 | Go to diff View file |
M | plugins/tracker/scripts/artifact/list-fields.ts | +7 | −18 | Go to diff View file |
D | plugins/tracker/scripts/artifact/list-pickers-creator.test.ts | +0 | −174 | Go to diff View file |
D | plugins/tracker/scripts/artifact/list-pickers-creator.ts | +0 | −135 | Go to diff View file |