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
Hi. Did you run the site updates (i.e. at /core/update.php) after updating the module? That version includes changes to the database that should provide that setting (Show title) with a...
Viewfield error on updating to latest version
Hi Paucku I'm afraid not. Backdrop Live is just that - live, not recorded as this encourages greater engagement from people who do not wish to be recorded. What we sometimes do is if...
Backdrop Live November 2025
I missed this topic: Self-Hosted, Headless, and Hyper-Automated: The Backyard DevOps Stack for Backdrop Applications (Part 2) from November 8th. Is there a way to watch it somewhere?
Backdrop Live November 2025