Skip to content

updating querystring with query value #435

Open
@mausinc

Description

@mausinc

hi, thanks so much for the example.
i am trying to get this working with the query parameter in the url. is this possible?

i can find in the documentation of the autocomplete lib some information about state

 initialState: {
      // This uses the `search` query parameter as the initial query
      query: new URL(window.location).searchParams.get('query'),
    },
    
    onStateChange({ state }) {
      console.log(state);
    },
This doesn't seem to work in the selectize version. Any help would be great!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions