magewire
magewire copied to clipboard
Fix Livewire Browser Plugin component updates
With the Livewire Browser Plugin you can modify component properties, which generate an AJAX call back to the server (similar to form.set('address.country_id', 'NL') via the MageWire JS API). However, in that case, the request parameters like the fingerprint are sent as part of a JSON body, and not with request parameters. This PR simply supports both.
I see that Codacy is failing on various points. However, a lot of the points represent also issues with the current codebase. Shall I fix this in my PR or not?
I've removed Codacy from the repo, wasn't satisfied with the output.