Multiselect(:options="passwordTypes")
I got this function
const passwordTypes = async () => {
await PASSWORD_TYPES.map(type => {
return {
label: t(`passwordType.${type.value}`),
value: type.value
}
});
}
It wont load at all my password types, when I console.log(passwordTypes()) it returns an array of 15 items, so why it isn't loading it in my html?
Can someone tell me how can I push these items to my Multiselect component?