I want to have a radio field without a label, but when I remove the label from the Yaml, it displays a 0 on the website.
What should I do?
Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Solved by Hugh Barnes View solution
I want to have a radio field without a label, but when I remove the label from the Yaml, it displays a 0 on the website.
What should I do?
Since it's hard coded to accept a value, have you tried just adding spaces? If that fails, you could hide the label within the css. You can target specific labels by their for attribute like
label[for='checkbox'] { display:none; }
This seems not to be documented: try label: false.
label: false did the trick 👍
I'll add these to my (long) list of things to investigate:
label: false documented?0 when label is omitted? (theme or form plugin)Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 13 | 1135 | 4 months ago | ||
| 0 | 60 | 5 months ago | ||
| 9 | 132 | 6 months ago | ||
| 7 | 108 | 7 months ago | ||
| 10 | 127 | 7 months ago |