-
Click the close button 'x' but the alert is still there. Anyone can help me? Thanks in advance!! :) ( My vuestic-admin version is 3.0.2. )
|
Beta Was this translation helpful? Give feedback.
Answered by
m0ksem
Apr 5, 2022
Replies: 1 comment 1 reply
-
Hi! You need to set <div class="mb-2">
<va-alert dense class="mb-0" color="warning" closeable v-model="doShowMyFancyAlert">
<template #icon>
<va-icon class="ion-md-notifications"/>
</template>
{{ $t('foo bar') }}
</va-alert>
</div> or with stateful component has its own state. <div class="mb-2">
<va-alert dense class="mb-0" color="warning" closeable stateful>
<template #icon>
<va-icon class="ion-md-notifications"/>
</template>
{{ $t('foo bar') }}
</va-alert>
</div> Looks like we forget to make it in vuestic-admin 🙂 More info here: https://vuestic.dev/en/ui-elements/alert#closeable |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
haofoooo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! You need to set
v-model
for this alert or usestateful
prop.or with stateful component has its own state.
Looks like we forget to make it in vuestic-admin 🙂
More info here: https://vuestic.dev/en/ui-elements/alert#closeable