Open gmw-web opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.
Not stale, still relevant.
Not stale, still relevant.
Not stale, just forgotten :(
Describe the bug
When using a
b-form-checkbox
with thechecked
prop, the checkbox immediately renders it's state aschecked
when toggling, instead of reflecting it's state based on thechecked
property.This is especially annoying when the 'check' action triggers an async action, which may fail. If this is the case the checked should not result in the switch being enabled. At the moment, it is, even when the
checked
prop val remainsfalse
throughout.Steps to reproduce the bug
See codepen https://codepen.io/gmw-web/pen/bGqLXGM?editors=101.
Expected behavior
When using the
checked
property, I would expect the checkbox to reflect the value of this property at all times.Versions
Libraries:
Environment:
Demo link
https://codepen.io/gmw-web/pen/bGqLXGM?editors=101
Additional context
none.