It seems the FAPI documentation is wrong where it state that #ajax is an available property for the hidden element although it isn't.
I tried to trigger an #ajax callback on a hidden element and it won't work, it is explain why in this issue #1199086.
Can we remove #ajax from the hidden properties list in the doc ?
Thanks.
Comments
Comment #1
jhodgdontagging
Comment #2
ken_y commentedJust reviewed the arguments, they seem sound.
Agree the indication of support should be removed.
Comment #3
jhodgdonThe next step would be a patch. The file is in the Documentation git repository.
Comment #4
jn2 commentedThis is fixed for D7 and D8.