beforeCreate on RelationManager
Hi. How do a specify a default value for a field in a RelationManager since it doen't hace a CreateRecord ?
4 Replies
This changes the fields before saving, I need to set a default value, show it on the form, maybe edit it, and then save it to the database.
beforeFormFilled works, but I cant find the data from the form
Solution
Wouldn’t that just be default() on the field itself.?
Yes! I forgot that option! great!