ideditor / schema-builder

🏗🏷 Create tagging schemas for iD
ISC License
12 stars 16 forks source link

Docs: Document how `strings` work for `defaultChecked` #120

Closed tordans closed 5 months ago

tordans commented 9 months ago

This adds anchor links to the field type definitions to clarify what "combo field types" are.

It also tries to document how the strings work with checkbox field types.


@Zverik Does this sound right to you? I looked into this after reading your comment at https://github.com/Zverik/every_door/issues/617#issuecomment-1668037931

Zverik commented 9 months ago

Thanks Tobias! I think a clarification is needed still: looks like for checkboxes (and defaultCheck), options should follow the fixed [undefined, yes, no] order: first is always undefined, then a value for "checked", and a value for "unchecked" (in case of a check field; defaultCheck unsets value for unchecked).