Drupal 10, the latest version of the open-source digital experience platform with even more features, is here.I was able to get the Aegir Server Node Service select forms to use the #states feature of Forms API.
No more custom javascript!
I pushed this code to the 7.x-3.x-js-states branch, and a patch is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2697147-aegir-fix-js-states.patch | 2.08 KB | Jon Pugh |











Comments
Comment #2
Jon PughComment #3
Jon PughComment #4
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop commentedWorks for me.
Comment #6
gboudrias CreditAttribution: gboudrias at Praxis Labs Coop commentedWe decided in the scrum to just merge this since the AJAX didn't previously work anyway.
Comment #7
Jon PughGreat. Branch delete!