Fork me on GitHub
#keechma
<
2017-08-11
>
urbank07:08:00

@mihaelkonjevic Cool, I'll check it out later today!

urbank08:08:46

@mihaelkonjevic With the forms support in toolbox. Is there an established helper function to cancel a form. So reset to the :initial-data and unmount form? Shouldn't this be a method of the IForm protocol? Oh, and will IForm protocol also become a multimethod?

mihaelkonjevic09:08:01

@urbank yes forms will be changed to multimethods

mihaelkonjevic09:08:27

you don’t need to reset to initial data

mihaelkonjevic09:08:24

you can just unmount the form, and it will remove the state

mihaelkonjevic09:08:46

if you take a look at the forms/mount-controller you can see how it unmounts the forms

mihaelkonjevic11:08:11

@urbank toolbox 0.1.0-SNAPSHOT-1 is out

urbank12:08:14

@mihaelkonjevic Oh, that makes sense. Cool. I'll try the multimethod version now

urbank19:08:14

@mihaelkonjevic Everything seems to be working with the new version. 👍