Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Update component options #80

Open
yeestrada opened this issue Dec 14, 2022 · 0 comments
Open

Update component options #80

yeestrada opened this issue Dec 14, 2022 · 0 comments

Comments

@yeestrada
Copy link

How can I update the options (myOptions) once the component is created?

let instance2 = new SelectPure(".progress-results-au-2", {
options:myOptions,
autocomplete: false,
multiple: false,
placeholder: 'Select Option',
value: initial_option,
icon: "fa fa-times",
onChange: option_id => {
// do stuffs
},
});

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant