How to use a Checkbox to edit fields in a related model
I've got a simple has-one relationship in my
I've tried to do this using 'dot' notation to form a path, where
However, this always returns a state of null.
So how can one create checkboxes to edit values in a 'has-one' related model?
User model which relates to a UserFeatures model, which has various fields that I'd like to edit with checkboxes in my UserResource:I've tried to do this using 'dot' notation to form a path, where
feature_field is one of the fields in UserFeatures, like so:However, this always returns a state of null.
So how can one create checkboxes to edit values in a 'has-one' related model?