lion/packages/form-core/docs/choice-group
2020-05-29 17:01:15 +02:00
..
README.md feat: merge field/validate/choice-input/form-group into @lion/form-core 2020-05-29 17:01:15 +02:00

ChoiceInputMixin

export default {
  title: 'Forms/System/Choice',
};

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