You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Fluidbyte no worries. thanks for the great lib.
I have a use case where a field is set on creation, and should not be modified afterwards. so would like to have a validation error when user is trying to update.
tho I think I might be able to workaround by using a modifier callback
I've been thinking about this and it wouldn't really be possible at the level where Obey resides since it has no inherit knowledge of if data is going through a create or update process. You'd probably be best simply running a check inside the CRUD methods themselves.
Useful when enforcing fields that cannot be changed
The text was updated successfully, but these errors were encountered: