lion/packages/choice-input
Joren Broekema e397f8d68b feat(field): align (pre)filled and empty, fix filled not working
BREAKING: _isPrefilled was removed in favor of _isEmpty. We used to have both, but we decided to align, because they basically do the same thing but opposite. If you were using _isPrefilled, switch to using _isEmpty and just use it in reverse. This change also makes _isEmpty available to all things that implement FormControlMixin. Lastly, filled is available now on all fields that implement InteractionStateMixin
2020-03-25 17:02:10 +01:00
..
src feat(field): align (pre)filled and empty, fix filled not working 2020-03-25 17:02:10 +01:00
test Merge pull request #647 from ing-bank/fix/model-value-event-consistent 2020-03-19 10:04:18 +01:00
CHANGELOG.md chore: release new versions 2020-03-19 09:07:33 +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-19 09:07:33 +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