Vuesax: The close button of the dialog is not work.

Created on 31 Jul 2018  路  8Comments  路  Source: lusaxweb/vuesax

:vs-active="$store.state.editBook.isActiveEditPopup"
Does not work if you refer directly to the state in the store like this

not work this.
vuesax/src/functions/vsDialog/index.vue :158
this.$emit('update:vsActive',false)

  • macOS: 10.13.5
  • node: v10.6.0
  • Vuesax: 3.1.51
  • Browser version: chrome 67.0.3396.99
  • Which package manager did you use for the install?: yarn
bug

Most helpful comment

You could try adding something like this

:vs-active.sync="$store.state.editBook.isActiveEditPopup"

All 8 comments

You could try adding something like this

:vs-active.sync="$store.state.editBook.isActiveEditPopup"

TY!!!! I was able to confirm that it works.

:vs-active.sync

//don't work.
@vs-cancel="$store.commit('addBook/addPopupToggle')"

addPopupToggle is popup show toggle flag.

Try a method that internally calls the commit

Not sure if I should ask this one here, but my vs-popup close button shows the word 'close' instead of 'x' (like those in the documentation). How do I fix this please?
vs-popup

@thukuwanjiku
https://lusaxweb.github.io/vuesax/vuesax/#use

npm install material-icons --save
import 'material-icons/iconfont/material-icons.css';

u have to import it separately

@thukuwanjiku Did you manage to solve the source?

Thank you for that @dasisyouyu Looks like I had forgot the import for the material icon css.
@luisDanielRoviraContreras yes, @dasisyouyu answer solved it for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

grali picture grali  路  4Comments

jsinhSolanki picture jsinhSolanki  路  3Comments

danyakov picture danyakov  路  3Comments

hahuy95 picture hahuy95  路  3Comments

leah-cc picture leah-cc  路  3Comments