Why does toggle field default to true?

I noticed that the toggle blueprint field defaults to true. This seems a little odd to me, seeing as things like radio buttons and checkboxes default to unchecked in html.

  fieldName:
    type: toggle
    text: yes/no

As far as I know, radio buttons also have the first option checked, while checkboxes are unchecked.

Apart from that, you can set a default value for each of these field types.

Edit: And unchecked is not an option for a toggle button.

1 Like