Skip to content

USelect trailing false doesn't work #6287

@albertcito

Description

@albertcito

Environment

npx nuxt info 
│
│
│ ╭── Nuxt project info (copied to clipboard) ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │                                                                                                                                                                                  │
│ │  Operating system      macOS 25.4.0                                                                                                                                              │
│ │  CPU                   Apple M3 Pro (11 cores)                                                                                                                                   │
│ │  Node.js version       v22.17.1                                                                                                                                                  │
│ │  nuxt/cli version      3.32.0                                                                                                                                                    │
│ │  Package manager       npm 10.9.2                                                                                                                                                │
│ │  Nuxt version          4.3.0                                                                                                                                                     │
│ │  Nitro version         2.13.1                                                                                                                                                    │
│ │  Builder               vite 7.3.1                                                                                                                                                │
│ │  Config                app, build, compatibilityDate, components, css, devServer, devtools, extends, googleFonts, modules, runtimeConfig, ssr, typescript, vite                  │
│ │  Modules               @nuxtjs/google-fonts 3.2.0, @nuxt/ui 4.4.0, nuxt-bugsnag 8.7.0, @nuxt/devtools 3.2.2, @nuxt/test-utils/module 3.23.0, @vueuse/nuxt 14.2.1, @nuxt/content  │
│ │                        3.11.2, @nuxt/ui 4.4.0                                                                                                                                    │
│ │                                                                                                                                                                                  │
│ ╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Is this bug related to Nuxt or Vue?

Nuxt

Package

v4.x

Version

^4.0.1

Reproduction

https://play.ui.nuxt.com/#eNp1UdtKxDAQ/ZWhL7a42SqISO0KovgD4oMQkNhOu9FpWpLpXlj235126V4ezEObyTknM+dkFz133XzVY5RFeSi87RgCct8BGVcvdMRBR0/a2aZrPcMOPFawh8q3DVyJ7OpRu6J1gaHovUfHn2g8LMDhGl4NY5zMa+S3nmgA4mRib6UKwnv23mznw3XxDghdzcsMbm9gP4P4awY2gcUTxDvtQAb6Rsrgnb11dXze7lp4s4GyMtTjvxTt9snFANJf7JzzErGTp4ccxLUUjE1HYkQqgLy0KyjIhCDJNNappRIuooNO3UFosk7dA9Xye4CKcDN+VNES/PSBbbVVhTRCP0YKsvKPF+PL05Vmo9aqKaHZKNNzqyOx5K1xLGDov5nwKB3E70hYMEwHEoBq2hJJ2IM/kZ+gzIqVockYvY5OiPgrcNlSiV7gT1kXwjFU9YtbAcf9BTqNvlaVPPIZpDljbyzJSwhcGQoinMB08p+OARzCTSVd2eXpMfNo/wcsl9kO

Description

This is what the documentation says

  • trailing: boolean 👉 When true, the icon will be displayed on the right side.

I expect that the down arrow icons will not be displayed in the select input. But even if I add :trailing="false" the arrow is still there.

<USelect 
  v-model="year" 
  :items="years"
  placeholder="YYYY" 
  value-key="value" 
  class="w-full" 
  :trailing="false"
/>

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingp3-lowMinor cosmetic, edge case, or documentation issuev4#4488

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions