Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UInput default types #2104

Open
ElYaiko opened this issue Sep 2, 2024 · 1 comment
Open

UInput default types #2104

ElYaiko opened this issue Sep 2, 2024 · 1 comment
Labels
bug Something isn't working triage

Comments

@ElYaiko
Copy link

ElYaiko commented Sep 2, 2024

Environment

Operating System: Linux
Node Version: v20.15.1
Nuxt Version: 3.13.0
CLI Version: 3.13.1
Nitro Version: 2.9.7
Package Manager: [email protected]
Builder: -
User Config: devtools, extends, modules, ui
Runtime Modules: @nuxt/[email protected]
Build Modules: -

Version

v2.18.4

Reproduction

Description

Type '{ "v-model": string | undefined; icon: string; type: string; size: "md"; placeholder: string; autocomplete: string; }' is not assignable to type 'IntrinsicAttributes & Partial<{ name: string; size: InputSize; type: string; required: boolean; class: any; leading: boolean; color: InputColor; ... 16 more ...; modelModifiers: {}; }> & Omit<...>'.
  Property 'autocomplete' does not exist on type 'IntrinsicAttributes & Partial<{ name: string; size: InputSize; type: string; required: boolean; class: any; leading: boolean; color: InputColor; ... 16 more ...; modelModifiers: {}; }> & Omit<...>'.

Additional context

UInput component doesn't have the default input types (HTMLInputElement)

Logs

No response

@ElYaiko ElYaiko added bug Something isn't working triage labels Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage
Projects
None yet
Development

No branches or pull requests

2 participants
@ElYaiko and others