stable

Clone or download

Read-only

fix request #30385 None value must be added in the modal regardless of default value

How to test: - set up a tracker with two fields: a Source field and a Target Selectbox field. The Source field can be selectbox or multi-selectbox. - choose a default value for the Target Selectbox field - set up field dependencies from Source field to Target field. There must be at least one that targets "None" - open the artifact modal, choose the Source value - "None" should be selected in the Target value - on a selectbox with a default value, without field dependencies, when you open the artifact modal to create a new artifact, then the default value will be selected. "None" will be an available value. Change-Id: Iec14f62478e67a3fc19f0b7bc0f908da3564f56b

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/model/tracker-transformer.js +1 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/model/tracker-transformer.test.js +110 −77 Go to diff View file