`v-wave` directive doesn't seem to react to the boolean variable
Closed this issue · 2 comments
DamianGlowala commented
When :v-wave='true'
, the directive appears to be turned off.
Vue template:
<button :v-wave="!disabled" />
Vue script:
const disabled = ref(true)
justintaddei commented
Thank you. I'll investigate tomorrow
justintaddei commented
This doesn't appear to be an issue with v-wave. You've written :v-wave=
which is invalid. You should use v-wave=
(no colon :
). Also, if const disabled = ref(true)
then !disabled
would be false
so <button v-wave="!disabled" />
would actually be disabled.