lion/packages/choice-input
CircleCI 04db59c967 chore: release new versions
- @lion/checkbox-group@0.8.0
 - @lion/checkbox@0.3.15
 - @lion/choice-input@0.7.2
 - @lion/field@0.11.0
 - @lion/fieldset@0.9.0
 - @lion/form-system@0.6.0
 - @lion/form@0.4.15
 - @lion/input-amount@0.5.15
 - @lion/input-date@0.5.15
 - @lion/input-datepicker@0.9.0
 - @lion/input-email@0.6.0
 - @lion/input-iban@0.6.0
 - @lion/input-range@0.2.15
 - @lion/input@0.5.15
 - @lion/option@0.5.5
 - @lion/radio-group@0.8.0
 - @lion/radio@0.4.5
 - @lion/select-rich@0.11.2
 - @lion/select@0.5.15
 - @lion/switch@0.6.0
 - @lion/textarea@0.5.16
 - @lion/validate@0.7.0
2020-03-01 23:08:13 +00:00
..
src chore: cleanup todos 2020-02-26 14:32:52 +01:00
test feat: api normalisation formElements and values 2020-02-20 14:17:13 +01:00
CHANGELOG.md chore: release new versions 2020-03-01 23:08:13 +00:00
index.js feat: flatten modelValue and remove checkedValue 2020-02-06 16:06:52 +01:00
package.json chore: release new versions 2020-03-01 23:08:13 +00:00
README.md feat: finalize validation and adopt it everywhere 2019-11-18 15:30:08 +01:00

ChoiceInputMixin

lion-choice-input mixin is a fundamental building block of form controls which return a checked-state. It is used in:

Features

  • Get or set the value of the choice - choiceValue()
  • Get or set the modelValue (value and checked-state) of the choice - .modelValue
  • Pre-select an option by setting the checked boolean attribute