Skip to content

Add a domLens for a mutex checkbox/radio scenario #250

@daedalus28

Description

@daedalus28

The goal is to capture this use case for radio buttons and mutex checkboxes:

{...{
  onChange: e => { field.value = e.target.value },
  value: option,
  checked: field.value == option,
}}

Given that we have checkboxValues, we probably shouldn't call it checkboxValue as that'd be too close. Likely name would be radioValue which is probably more intuitive than mutexValue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions