3 ms·
Isn't that what the `value` attribute of `<option>` is for? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option https://developer.mozilla.org/en-U
by kitd 3y ago
Isn't that what the `value` attribute of `<option>` is for?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option https://developer.mozilla.org/en-US/docs/Web/HTML/Element/op...
- PKop 3y agoThe option and the form will work that way, but the input itself will then show the value instead of the option label... the input is not smart enough to present the option as a select does, it shows whatever you have in the "value" field.