Toot

Written by Dennis Koch on 2024-08-17 at 15:44

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

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/112978130854912128
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
220.48667 milliseconds
Gemini-to-HTML Time
0.360647 milliseconds

This content has been proxied by September (3851b).