Hi,
i am trying to setup events (open, close, ecc) for a f7-smart-select, but i’m having troubles.
The event doesn’t get triggered, anywhere. As you can see i’ve tried putting it on every single html tag…
<template>
<f7-list @smartselect:closed="test">
<f7-list-item title="Mac or Windows" smart-select :smart-select-params="{openIn: 'sheet'}" @smartselect:closed="test">
<select name="mac-windows" @smartselect:closed="test">
<option value="mac" selected @smartselect:closed="test">Mac</option>
<option value="windows">Windows</option>
</select>
</f7-list-item>
</f7-list>
</template>
<script>
export default {
methods: {
test: () => console.log('test')
}
};
</script>
What am i doing wrong?
Thanks in advance