Our ViewsExposedFilterBlockModal class allows certain exposed elements to be "hidden" from display. In old times we could iterate over #info key in the already generated render array and remove our "sorts" if desired, from there. That now only works when using the Better exposed filter module, with the default the keys that will contain sorts are fixed: "sort_by" and "sort_order".
The fix is not complex but we want to improve in general here the experience. One thing that is annoying is that Blocks are cached so changes on these don't permeate even if the view Changes. I might explore that too
We also got feedback about using aria attributes for the hidden, which we are already doing on Advanced Search
And ... also we need a "copy values from visible to the same hidden element on other exposed modal forms" and/or an autosubmit. This is JS + settings + magic.
What?
Our
ViewsExposedFilterBlockModal
class allows certain exposed elements to be "hidden" from display. In old times we could iterate over#info
key in the already generated render array and remove our "sorts" if desired, from there. That now only works when using the Better exposed filter module, with the default the keys that will contain sorts are fixed: "sort_by" and "sort_order".The fix is not complex but we want to improve in general here the experience. One thing that is annoying is that Blocks are cached so changes on these don't permeate even if the view Changes. I might explore that too
We also got feedback about using aria attributes for the hidden, which we are already doing on Advanced Search
And ... also we need a "copy values from visible to the same hidden element on other exposed modal forms" and/or an autosubmit. This is JS + settings + magic.