I read the docs and also some issues, but I was not able to find any way to trigger a callback after selecting an option. Is there no option, or have I somehow missed that?
I was thinking of something like that:
var options = {searchable: true};
var select = NiceSelect.bind(document.getElementById("countryselect"), options, function(value) {
@this.set('fields.country', value);
});
I read the docs and also some issues, but I was not able to find any way to trigger a callback after selecting an option. Is there no option, or have I somehow missed that?
I was thinking of something like that: