Closed lvh closed 8 years ago
Right now, when you use radio buttons and one of them is selected by default, nothing is written to the state, e.g.:
[:input {:field :radio :value :a :name :radioselection} "foo"] [:input {:field :radio :value :b :name :radioselection :checked true} "bar"] [:input {:field :radio :value :c :name :radioselection} "baz"]
... will not write :radioselection :b to the state. It seems like it should. Assuming it should; I'd be happy to contribute a PR.
:radioselection :b
Yeah that makes sense, I've just pushed out a new version with a fix, also updated checkboxes to support the same behavior.
Awesome! Thank you!
I'm guessing this can be closed now since it's fixed in master?
Right now, when you use radio buttons and one of them is selected by default, nothing is written to the state, e.g.:
... will not write
:radioselection :b
to the state. It seems like it should. Assuming it should; I'd be happy to contribute a PR.