hi,
how can i get from the select field ( in the form ) key/value for the "< option > VALUE < /option >".
My yaml file:
handle: test
field:
display: Test
multiple: false
clearable: false
searchable: true
taggable: false
push_tags: false
cast_booleans: false
listable: hidden
options:
test: Test
Test2: Test2
type: select
icon: select
placeholder: ''
input_type: ''
My HTML file:
<select id="contact-{{display}}" name="salutation" class="form-control custom-select" required>
<option hidden disabled selected value></option>
{{ options }}
<option value="{{key}}">{{value}}</option>
{{ /options }}
</select>
<label class="form-label" for="contact-{{display}}">{{display}}</label>