Insert null value into a text input
You can't tell a text input to have any kind of null
value. Empty checkboxes have a value of an empty string ''
by definition. The best way to do it, as you say, is to have a checkbox that toggles the disabled
property of the text input, which gives a similar semantic.