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

InputNumber: Cannot type or delete fraction digits when min-fraction-digits is null/0 #1117

Closed
Anubarak opened this issue Mar 25, 2021 · 4 comments

Comments

@Anubarak
Copy link

Anubarak commented Mar 25, 2021

When Using https://primefaces.org/primevue/showcase/#/inputnumber I cannot find a way to delete or insert decimal points but I would like to do so. There are several issues for other primefaces and most of them are resolved but I cannot find a way to do the same with primevue.

https://codesandbox.io/s/determined-roentgen-jvtit?file=/src/App.vue

Basically the same as primefaces/primeng#9272

@Anubarak Anubarak changed the title Cannot type or delete decimal points for InputNumber InputNumber: Cannot type or delete fraction digits when min-fraction-digits is null/0 Mar 25, 2021
@tugcekucukoglu
Copy link
Member

InputNumber does not renders text. So please remove type="text" from InputNumber component.

@Anubarak
Copy link
Author

@tugcekucukoglu I did, it still does not work. Should I open a new issue?

@tugcekucukoglu
Copy link
Member

using :minFractionDigits could help.

csb

@Anubarak
Copy link
Author

Anubarak commented Mar 26, 2021

Yeah but I don't want to have them always, just when required. As I mentioned I'm not able to delete them that way.
So in the end it's not possible. Could we leave that as a feature request or do I have to create a custom component?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants