We recently committed https://github.com/backdrop/backdrop-issues/issues/3764.
But belated request/idea: working on contexts PR and I want to use this to autocomplete, but filtered by entity type. Currently once you start typing it shows you every piece of content/term/whatever.
But what if we changed the path to path-autocomplete/% and passed the type of content to the path_autocomplete($string = '', $type = NULL) function to filter by that type? Or even path-autocomplete/%/% and path_autocomplete($string = '', $type = NULL, $exclude = FALSE) to allow a negative filter.
In a form you could set '#autocomplete_path' => 'path-autocomplete/node to get only nodes, or, as in the case I'd like to accomplish, '#autocomplete_path' => 'path-autocomplete/' . $context->type.
Recent comments
Sorry for not being clear. I have this view and two exposed filters on it. I am trying to show different places on the map. These places are called "institutions". They have a...
Parent items won't show on Leaflet Widget.
Still trying to understand: you have this view and an exposed form on it, right. And you have two independent taxonomy terms and try to filter by them? Or is this a hierarchal...
Parent items won't show on Leaflet Widget.
Sorry. It is a taxonomy term.
Parent items won't show on Leaflet Widget.