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

【n-input-number】组件 input-props 无效 #5953

Closed
5 tasks done
long-woo opened this issue May 17, 2024 · 2 comments
Closed
5 tasks done

【n-input-number】组件 input-props 无效 #5953

long-woo opened this issue May 17, 2024 · 2 comments
Labels
untriaged need to sort

Comments

@long-woo
Copy link

描述错误

数字输入(n-input-number)组件的 input-props 属性无效

复现步骤

image

最小复现链接

https://stackblitz.com/edit/vitejs-vite-vdjdps?file=src%2FApp.vue

系统信息

Vue: 3.4.26
Naive-ui: 2.38.2

使用的包管理器

pnpm

验证

@long-woo long-woo added the untriaged need to sort label May 17, 2024
@jizai1125
Copy link
Contributor

因为顺序问题,inputProps 中的 maxlength 会被覆盖
image

@long-woo
Copy link
Author

暂时用 validator 临时解决。

不知后续版本是否有增加 maxlength 属性的计划呢(或者其他)?

@jahnli jahnli closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
untriaged need to sort
Projects
None yet
Development

No branches or pull requests

3 participants