Skip to content

UInputTag does not display validation errors for pattern matching #4573

@ejfine

Description

@ejfine

Environment


  • Operating System: Linux
  • Node Version: v20.12.0
  • Nuxt Version: 3.17.3
  • CLI Version: 3.25.1
  • Nitro Version: 2.11.12
  • Package Manager: pnpm@8.15.6
  • Builder: -
  • User Config: modules, devtools, compatibilityDate, future, css
  • Runtime Modules: @nuxt/ui@3.2.0
  • Build Modules: -

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.2.0

Reproduction

https://codesandbox.io/p/devbox/fragrant-fog-7ck4yf

The schema specifies that the items within the list must be numbers, and the UForm catches the error (displayed in the UAlert below), but the UInputTag object doesn't display it

Image

Description

The UInputTag element does not correctly render the error text for schema validation errors for pattern matching of the individual items within its array.

It works fine showing an error about the length of the array, but not about problems for the items within the array.

Image

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting initial review and prioritizationv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions