Hello, how can i add a placeholder in a selectbox? Required is true and i need a placeholder descirption for it. like:
option1: Which pet do you want most?
option2: cat
option3: dog
Archive
I added a placeholder option to the select field. Will be in the next Form plugin release: https://github.com/getgrav/grav-plugin-form/commit/5ed117d6c8e2f389ce624f77c5e95eabd69d8b3a
Thank you! Work perfect
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 0 | 1357 | 9 years ago | ||
| 2 | 936 | 9 years ago | ||
| 2 | 4066 | 9 years ago | ||
| 1 | 2954 | 9 years ago | ||
| 3 | 1120 | 9 years ago |