BigDecimalField in Vaadin 14

Hello!

I want to set the value “12345678” into BigDecimalField using Vaadin 14.

I want to have grouping like formatters do e.g. formatter.setGroupingSize(3); and formatter.setGroupingUsed(true);.

The BigDecimalField should represent my value like 12.345.678 or in english language ouf course like 12,345,678

Is there a way to do this?

Thank you for your help,
Thomas

Unfortunately there’s no support for setting custom formatting in BigDecimalField currently. Please see https://github.com/vaadin/vaadin-text-field-flow/issues/291 and give the issue a thumbs-up. The workaround is to use https://vaadin.com/directory/component/superfields