Fork me on GitHub
#fulcro
<
2019-05-30
>
exit221:05:31

Is it normal for fs/dirty-fields to return the ident of a subform rather than the values that map to it? {[:listing/by-id "58485c380117e6090042531d"] {:prices [:prices/by-id "58485c380117e6090042531f"]}}

exit221:05:28

It would be cool if when updating the subform it updated back to the root data, maybe I’m doing something wrong?

currentoor23:05:35

@njj yes that’s normal, dirty-fields returns normalized (i.e. flat) data

currentoor23:05:35

that’s usually easier to work with for the databases i’ve worked with, if you need something nested you can easily get that from the props