Skip to content

[AutoComplete] Manually using the Stimulus Controller to pass extra Options to the Autocompleter #2409

Open
@toxicity1985

Description

@toxicity1985

Hello,

I used the stimulus controller to pass some extra data to my autocompleter but i was having issue that my data was not well formatted.
I have to make some extra code to generate the checksum.
So i want to contribute and make something for that but i don't know what's the good way to do that.
I think i have two solutions for that,

  • Create a ux_autocomplete_path function in twig to make the stuff
  • Create a filter to generate the array with the checksum ?
    If you have some other and better solution, say it !

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions