So far I use SuperBigDecimalField and SuperLongField and both work fantastic.
Thanks for that and for sharing your code and knowledge with us.
I only have one question regarding the SuperLongField:
In the German setting of the browser the comma is the decimal separator.
The user can enter a comma in the SuperLongField which I would like to prevent.
Is there a possibility for this?
Many thanks and greetings
Matthias
Hi and thanks for using my components!
The behaviour you described seems like a bug. For the SuperLongField
the user should be able to enter only the thousands separator, not the decimal separator. I made this an issue in the repository https://github.com/vaadin-miki/super-fields/issues/224 - I hope to have some time to try and reproduce the issue locally and if I succeed in that, then of course I will fix it.
Okay, issue fixed. Turned out to be the intended behaviour (changing locale resets precision information) - which made no sense. The next release will be available when Vaadin 14.4 is out and it will have this bug fixed.
Hello Miki,
Today I installed Vaadin 14.4.0 but the SuperLongField still allows to enter the decimal separator.
Do I have to wait for another 14.4.# version or do you have to change something in the SuperLongField class?
It would be great if you could give me some feedback.
Thanks a lot and have a nice day.
Matthias
Hi,
SuperFields are not part of the official Vaadin Framework, they are a hobby project of mine and I do releases when I have some spare time (as you can guess, finding it is a little tricky ;)
Anyway, I plan to release new version this week. Hopefully this will not be too late for you.
Cheers!
Hi Miki,
Thanks for your quick feedback.
It was in no way my intention to push you in any way.
I just wanted to know if I missed anything or if Vaadin or you still have to do something.
I know that now and of course you can take as much time as you want and make the adjustment when it suits you.
I want to thank you again for the add-on. It is the best solution for the numeric fields I have seen so far.
I have saved an incredible amount of time by not having to develop this feature myself, not to mention the fact that I could not have done it in this quality…
Many greetings
Matthias
No offence taken at all :) I am happy that you (all of you!) find my work useful and it saves your time, allowing you to focus on what is really important - your app.
Version 0.9.1 has been released, with dependencies upgraded to Vaadin 14.4 and various bug fixes. Feel free to report any issues :)
Hi Miki,
Just now I tested the SuperLongField and it works perfectly now.
Thank you very much again for your super nice and professional help.