day8 / re-com

A ClojureScript library of reusable components for Reagent
https://re-com.day8.com.au
MIT License
796 stars 147 forks source link

tag-dropdown: model does not support plain set, must be atom #234

Closed hipitihop closed 3 years ago

hipitihop commented 3 years ago

Demo example for tag-dropdown suggests a non atom can be passed for the model, but this causes a deref exception.

image

image

superstructor commented 3 years ago

Documentation is deployed on every push to master.

The last released version, 2.12.0, did not support a non atom.

master does support a non-atom since a8a45d84faba5cca4273137d1012c4d28647c6bd via deref-or-value.

Tested successfully on master today. This will work in any subsequent release.