Closed holyjak closed 1 year ago
There is actually no problem with enums. The reason for them having the same before, after is that my form failed to validate and/or safe and when I retried, it somehow saw these values as unchanged even though the entity was not saved. Most likely just some mistake on my side.
Fixed by using latest version of Fulcro.
When saving a new RAD entity I expect all
:before
values to benil
but this is not the case when the attribute has a default value set viafo/default-value
~or if it is of the:enum
type~ - in both these cases there will be:before
and:after
having the same value (the default ~/ the selected enum value~). This confuses some DB plugins, such as fulcro-rad-asami, ending up with not saving the values at all.