Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
helper_field_select [2018/08/29 14:08] – [Helper Field 'select'] Adjust intro for 'select'. Traumflug | helper_field_select [2018/11/11 16:57] – [Parameter Description] Note about setting values by code. Traumflug | ||
---|---|---|---|
Line 18: | Line 18: | ||
' | ' | ||
' | ' | ||
- | ' | ||
' | ' | ||
+ | ' | ||
' | ' | ||
[ | [ | ||
Line 65: | Line 65: | ||
== ' | == ' | ||
Value to use if //' | Value to use if //' | ||
+ | |||
+ | == ' | ||
+ | String which identifies the key in these pairs inside entries in //' | ||
== ' | == ' | ||
Select the HTML menu entry with this value. Requires //' | Select the HTML menu entry with this value. Requires //' | ||
- | == ' | + | Notably, as Option Fields are usually set in the class constructor, |
- | String which identifies the key in these pairs inside entries in //' | + | |
== ' | == ' | ||
- | List of options to fill the HTML select with. Each option is an array with two key-value pairs. **Mandatory**, | + | List of options to fill the HTML select with. Each option is an array with two key-value pairs. **Mandatory**. An empty array gives no selector at all. To get an empty selector, e.g. to fill it with JavaScript, define |
== ' | == ' | ||
Line 143: | Line 145: | ||
</ | </ | ||
<div class=" | <div class=" | ||
- | <div class=" | + | <select |
- | < | + | name="MYCONTROLLER_OPTION" |
- | id="myid" | + | |
- | size="10" | + | id="MYCONTROLLER_OPTION" |
- | name="MYCONTROLLER_OPTION" | + | size="1"> |
- | | + | < |
- | placeholder="placeholder text" | + | < |
- | type="text"> | + | <option value="baz">Use BAZ!</option> |
- | <span class="input-group-addon">units</span> | + | </select> |
- | </div> | + | |
</ | </ | ||
<div class=" | <div class=" |
helper_field_select.txt · Last modified: 2019/02/22 18:39 by Traumflug