Open annsch opened 1 month ago
You should be able to do something like this as well:
<DBTag>
<label>
<input type="checkbox" />
Test
</label>
</DBTag>
We need to fix this. DBTag
should be just styling.
Maybe we could consider if we want to remove the additional span
via JS. What do you think @mfranzke?
You should be able to do something like this as well:
<DBTag> <label> <input type="checkbox" /> Test </label> </DBTag>
We need to fix this.
DBTag
should be just styling.Maybe we could consider if we want to remove the additional
span
via JS. What do you think @mfranzke?
this sounds a little fragile to me. Additionally we would manipulate what the users have inserted and probably intended differently in here. What about not using DBCheckbox in the firstplace, but only provide documentation for the construct that you suggested?
<label>
<input type="checkbox" />
Test
</label>
Which generators are impacted?
Reproduction case
Currently DB Tag with prop "removeable" also includes a lot of not displayed HTML Code generated by checkboxes' validation () – is this really necessary?
Expected Behaviour
When using DB Tag with removeable option, a lighter version of DBCheckbox should be rendered
Screenshots
No response
Browser version
None
Add any other context about the problem here.
No response