vuetify-use-dialog icon indicating copy to clipboard operation
vuetify-use-dialog copied to clipboard

icon field in closeButtonProps does not work

Open yp05327 opened this issue 8 months ago • 0 comments

Describe the bug

My function call:

toast({
  text,
  closeButtonProps: {
    icon: 'tabler-square-rounded-x',
  },
})

result: image

This setting does not work for me.

According to the offical demo, it seems that we should not set any text in VBtn: image

Reproduction

Just set icon in closeButtonProps

toast({
  text,
  closeButtonProps: {
    icon: 'tabler-square-rounded-x',
  },
})

Logs

No response

System Info

System:
    OS: Linux 5.15 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
    CPU: (32) x64 13th Gen Intel(R) Core(TM) i9-13900K
    Memory: 9.45 GB / 15.49 GB
    Container: Yes
    Shell: 5.2.15 - /bin/bash
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.7.0 - /usr/local/bin/npm
    pnpm: 9.1.3 - /usr/local/share/npm-global/bin/pnpm
  npmPackages:
    vue: 3.4.21 => 3.4.21 
    vuetify: 3.5.2 => 3.5.2

Severity

annoyance

yp05327 avatar Jun 03 '24 15:06 yp05327