lion/packages/choice-input
Thomas Allmer bcd074d1fb feat: use markdown javascript (mdjs) for documentation
Co-authored-by: CubLion <alex.ghiu@ing.com>
2020-05-29 17:01:15 +02:00
..
src fix: add display:none for hidden (#692) 2020-04-29 10:05:06 +02:00
test chore: apply prettier formatting changes 2020-04-29 10:05:06 +02:00
CHANGELOG.md chore: release new versions 2020-05-27 08:30:48 +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-05-27 08:30:48 +00:00
README.md feat: use markdown javascript (mdjs) for documentation 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