Fork me on GitHub
#re-frame
<
2017-08-28
>
sandbags15:08:20

@andre i'm eager, is there an ETA for your 0.5 release?

sandbags15:08:42

re-frisk is a day-to-day tool for me (on those rare days when I get to code :))

yedi20:08:10

in re-frame, whats the best way to handle forms whose fields directly map to the fields of a subscribed model (the model is server persisted)

yedi20:08:45

if i set the :value of an Input to the subscribed model's field, then whenever someone types in the Input i'll have to dispatch that change to server and wait for the model to be returned before the input actually shows the change. which is clearly not ideal

yedi20:08:16

which means i probably should save the form data in a ratom

yedi20:08:48

actually nvm i think that should be suitable

captainlexington20:08:29

@yedi, I would use the form ratom, probably, for a complex form, but if I understand you correctly, you can also wait to update the :value until the Input loses focus/submits