You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've set up a LiveForm to perform live validation on our form, however I can't work out any way to detect which button the user has clicked, as the data coming through to the server is always null for the submitted data on any of the clicked or un-clicked buttons.
Am I doing something wrong, or is this a known limitation of the Live components?
The text was updated successfully, but these errors were encountered:
I've also tried creating an custom type that renders <input type="submit" value="test"/> but this didn't work either.
It looks like it's the valueStore that is missing any values for the buttons, but I can't easily tell where this is updated from, or whether there's any way to modify the values before they're sent to the server.
smnandre
changed the title
Unable to detect which button was clicked as submitted data for button is always null
[LiveComponent] Unable to detect which button was clicked
Feb 21, 2025
I've set up a LiveForm to perform live validation on our form, however I can't work out any way to detect which button the user has clicked, as the data coming through to the server is always null for the submitted data on any of the clicked or un-clicked buttons.
Am I doing something wrong, or is this a known limitation of the Live components?
The text was updated successfully, but these errors were encountered: