Options Attribute for Multiple-choice Property
See original GitHub issueIs there currently a way to indicate that an Activity property supports multiple simultaneous values from a list of fixed options? For example, the Elsa.Attributes.SelectOptionsAttribute
attribute allows you to specify multiple exclusive options on a string property, but what I’m looking for is the ability to specify multiple choices on a single property. This is analogous to the [Flags]
attribute for enums.
I was wondering if this capability already exists today, such as if I decorate a property whose type is string[]
or IEnumerable<string>
as opposed to just string
?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
[Chapter 10] 10.4 Multiple Choice Elements
By default, all options within a multiple-choice <select> tag are unselected. Include the selected attribute (no value) inside the <option> tag to preselect...
Read more >HTML select multiple Attribute
The multiple attribute is a boolean attribute. When present, it specifies that multiple options can be selected at once. Selecting multiple options vary...
Read more >HTML attribute: multiple - HTML: HyperText Markup Language
The multiple attribute on the <select> element represents a control for selecting zero or more options from the list of options. Otherwise, the ......
Read more >Option Tag in HTML | Know Attributes of ...
Guide to Option Tag in HTML. Here we discuss the introduction, syntax, attributes, and examples of Option Tag in HTML respectively.
Read more >The SELECT element
The SELECT element is used for single and multiple choice menus. It is generally rendered as a drop-down or pop-up menu, and offers...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Indeed it is! 😃 As of today, we have multiple option support in the form of check box list.
I’ll explore the current use of
SelectOptionsAttribute
in the code base and see if I can contribute a PR to implement this behavior.