- Issue created by @jo13sue
- πΊπΈUnited States smustgrave
Is there a unique setup you're using? Could you provide clearer steps.
Tried replicating but no luck.
- πΊπΈUnited States jo13sue
Here are the steps:
1 - Go to this link: https://medsites.vumc.org/
2- Go to the section titled: "Explore our Center, Lab and Program Sites"
3 - On the left column select any of the options "Allergy Pulmonary, Cardiovascular Medicine".
4 - Do not click apply button.Ideally, the way this should work is that as soon as you make any selections from the left column. It will update the right side without having to click the apply button.
Once you click apply and make more selections the auto-submit starts working. It should work from the very beginning.
I have attached google drive links that have images of my view and how it's set up. You will see that the option "Enable auto-submit" is checked and "input required" is unchecked.
https://drive.google.com/file/d/10n4n8nbkzmPSMWDn7c2eyXMvhBzm8OLr/view?u...
https://drive.google.com/file/d/1ubMX5-eIGSbO44wurgrDdAZ9SdqAhKWN/view?u...
https://drive.google.com/file/d/13gjGcOyNIguFLQxcGna_iKv80Rv5z78m/view?u... - πΊπΈUnited States smustgrave
Will leave for another, I can't reproduce. I've added checkboxes to a test form, enable autosubmit and it's working as expected.
- πΊπΈUnited States jo13sue
Are you able to share your test form so I can see how its working?
- πΊπΈUnited States smustgrave
Just using the bef test module and converted one of the fields to checkboxes + autosubmit.
- Merge request !155Issue #3470965: Warning: Undefined array key "#type" in... β (Merged) created by smustgrave
- πΊπΈUnited States smustgrave
Did some much needed refactoring but can see in testAutoSubmitWithCheckboxes() where the test passes
- Status changed to Needs review
about 1 month ago 9:06pm 6 March 2025 - πΊπΈUnited States jo13sue
To provide more context here. I just tested this on a drupal 11 website and works as intended. The issue I was experiencing is on Drupal 10.4.3, php version 8.2.27. So it seems to be a bug with that specific version.
- πΊπΈUnited States smustgrave
Apologize not 100% why it would fail with 8.2. The pipeline is testing for D10 and D11 but not php8.2
-
smustgrave β
committed aad869b5 on 7.0.x
Issue #3496110 by smustgrave, jo13sue: Auto submit not working with...
-
smustgrave β
committed aad869b5 on 7.0.x
Automatically closed - issue fixed for 2 weeks with no activity.