Done
Details
Details
Assignee
Deactivated User
Deactivated User(Deactivated)Reporter
Michael Duerig
Michael DuerigPriority
Affects versions
Story Points
2
Sprint
Add sprint
More fields
More fields
Created June 8, 2021 at 1:23 PM
Updated July 6, 2021 at 1:34 PM
Resolved July 6, 2021 at 1:34 PM
The
populate
property of theopenDialogAction
interacts with thedefaultValue
of select fields in non obvious ways: to apply the default value of a radio button group field, settingdefaultValue
alone is not sufficient andpopulate=false
needs also be set on the corresponding open dialog action. I suggest we improve the documentation to that respect.The documentation of defaultValue has the note "Applied only when creating a new item, not for already existing items", which could be related. No mention of the populate property though.
The documentation of OpenDialogActionDefinition mentions the populate property but stays very vague: "can trigger exceptions in some cases".
Note that I don't have the full picture on how and where the populate and defaultValue properties interact. Maybe @Roman Kovařík has more insight and can help with the details.
Note
This was discovered in the ABn testing app where setting the default value alone did not selected the "now" option until populate was set to false in the open dialog action.