Closed jinyeng closed 1 year ago
Yes, see the choices
parameter or setChoices()
. See the examples here.
@mtriff In the provided example though, it is initialized with an element: new Choices('#choices-single-no-search', {
and there is an html element created choices-single-no-search. My question was, if there is a way to render the choices without creating an html select element.
Is it possible to initialize choices without