[4.0] Radio button onchange form submit did not work in joomla filter bar #39200
Replies: 5 comments
-
Looking at the code,
It's the same in J3. But different for |
Beta Was this translation helpful? Give feedback.
-
Yeah, did work by adding to option, but thats not clear and too much if you have a large list of options. |
Beta Was this translation helpful? Give feedback.
-
Well, there's an advantage to having this on options - each option can have a different onchange value. |
Beta Was this translation helpful? Give feedback.
-
I don't think it's an advantage. It should be possible to set the handling onchange for all fields equally. If someone else wants to handle it different, he can write a separate field for it. |
Beta Was this translation helpful? Give feedback.
-
As @SharkyKZ pointed out, you can add onchange to individual option. From documentation of our radio form field, onchange is not a supported attribute too. For the time being, it is not really an issue, I'm converting it to discussion and we can discuss further from there if needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Steps to reproduce the issue
Expected result
onchange="this.form.submit();" should submit the form and the toggled radio button should be selected
Actual result
nothing happens, js event did trigger
System information (as much as possible)
Joomla! Version | Joomla! 4.0.0-beta1-dev Development [ Mañana ] 17-October-2019 20:21 GMT
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Beta Was this translation helpful? Give feedback.
All reactions