Livewire Rules #223
Unanswered
francoism90
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Take a look at optional, Lazy is only being used for transforming a data object into a resource array. Not the other way around, so it shouldn't have affect on creating a data object or creating validation rules. When a property is optional, the sometimes rule gets added. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use Livewire and laravel-data together, by using something like this:
These are my data objects:
Would it be possible to build the rules according to what's actually in the payload? Any other workarounds?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions