lion/packages/choice-input
CircleCI a5afaaeb27 chore: release new versions
- @lion/checkbox-group@0.7.0
 - @lion/checkbox@0.3.13
 - @lion/choice-input@0.7.0
 - @lion/field@0.10.0
 - @lion/fieldset@0.8.0
 - @lion/form-system@0.5.0
 - @lion/form@0.4.13
 - @lion/input-amount@0.5.13
 - @lion/input-date@0.5.13
 - @lion/input-datepicker@0.8.17
 - @lion/input-email@0.5.13
 - @lion/input-iban@0.5.14
 - @lion/input-range@0.2.13
 - @lion/input@0.5.13
 - @lion/option@0.5.3
 - @lion/radio-group@0.7.0
 - @lion/radio@0.4.3
 - @lion/select-rich@0.11.0
 - @lion/select@0.5.13
 - @lion/switch@0.5.15
 - @lion/textarea@0.5.14
2020-02-20 15:26:32 +00:00
..
src feat: api normalisation formElements and values 2020-02-20 14:17:13 +01:00
test feat: api normalisation formElements and values 2020-02-20 14:17:13 +01:00
CHANGELOG.md chore: release new versions 2020-02-20 15:26:32 +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-02-20 15:26:32 +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