reasons property

List<ActionReason>? reasons
getter/setter pair

List of reasons why the action is not available.

The list of reasons is empty if the action is available. If there is only one reason, it can be displayed next to the disabled button. If there are more reasons, all of them should be displayed, for example in a pop-up dialog.

Implementation

core.List<ActionReason>? reasons;