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?
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)