protonemedia / laravel-splade

💫 The magic of Inertia.js with the simplicity of Blade 💫 - Splade provides a super easy way to build Single Page Applications (SPA) using standard Laravel Blade templates, and sparkle it to make it interactive. All without ever leaving Blade.
https://splade.dev
MIT License
1.47k stars 112 forks source link

Dynamically added fields to a Splade form not being submitted #542

Closed drlopes closed 8 months ago

drlopes commented 11 months ago

Description:

I have a case where i need to dynamically add new inputs to a splade form via javascript, but the newly added inputs aren't submitted with the rest of the form. The new inputs i add to the form are default html inputs, stylized to look the same as the splade form components. I figure the splade components might have some special data that helps to identify what should be sent to the backend...

I've read the docs back to back and i couldn't find an answer to this. Any ideas? Am i missing something?