Make NumberField use BigDecimal instead of Double


my application needs a number field to handle BigDecimals.

In V8 I extended the stock TextField with custom code, but then I needed a dedicated .getConvertedValue() method to return a BigDecimal (because .getValue() was returning the field content as a String).

V14 has NumberField, but it works with <Double>.
Is it possible to have it working with <BigDecimal>? Or do I have to recreate the chain (from GeneratedVaadinNumberField, etc.)?