Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Vaadin 7 TextField enhancement suggestion

Jara Cesnek
1 decade ago May 03, 2012 2:22pm
Henri Sara
1 decade ago May 04, 2012 6:46am
Jara Cesnek
1 decade ago May 07, 2012 12:46pm

mask overuse or mask itself is not user friendly. No doubt.

But I dont want mask edit (and certainly not with visible mask placeholdert).

I miss the simple "NumberField" (no mask, no visible mask placeholder), just "Integer mode", "Double mode", "Strict or BigDecimal mode- specify places before and after decimal point" (for values from database).

I try this components

1) MaskedTextField
- visible mask placeholder
- can enter decimal point multiple times

2) NumericField (from MaskedTextField addon)
- can not enter negative sign "-"
- can enter decimal point multiple times
- can not enter max size before and after dot

3) NumericField (from NumericField addon)
- show wrong input char, and after half-second change value to previous allowed value

I still wonder why this must-have-component is not in core vaadin.In every nontrivial application users enter numbers

Last updated on May, 7th 2012
Juan Manuel Rojas Ronquillo
8 years ago Jun 10, 2014 10:00pm
Agata Vackova
8 years ago Jun 11, 2014 7:27am
Marius Reinwald
8 years ago Jun 11, 2014 7:34am