A placeholder value can be defined and will be displayed until a selection is made. Select2 uses the placeholder attribute on multiple select boxes, which requires IE 10+. You can support it in older versions with the Placeholders.js polyfill.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Placeholder is an attribute or a prop | 2 | 1052 | January 25, 2021 | |
::placeholder vs [placeholder] difference? | 6 | 2164 | March 9, 2021 | |
Survey form - Placeholder | 5 | 658 | September 12, 2023 | |
Add Placeholder Text to a Text Field-- | 4 | 548 | March 9, 2021 | |
Stocked on step 35 how to build forms | 2 | 257 | January 19, 2023 |