After a little testing I noticed that it's not Livewire that looses my data between the two components but Laravel's Validator as soon as I added a wildcard Validation rule for that data.
After a bit of digging I saw that the Validator initializes the data array matching the rules with null
before filling it with data. As the original data is an object which is passed by reference that data was set to null, too.
2/3
=> More informations about this toot | View the thread | More toots from denniskoch@phpc.social
text/gemini
This content has been proxied by September (3851b).