Skip to content

Request - NumeralFieldFormatter should extend a NumberField vaadin component #74

@Alexenon

Description

@Alexenon

I found confusing that NumeralFieldFormatter cannot extend a NumberField vaadin component.
I would like to be able to extend a number field using the NumeralFieldFormatter.
It's annoying to parse always the values from String to Double and vice-versa 😢

NumberField priceField = new NumberField("Price");

Please add such functionality

new NumeralFieldFormatter.Builder()
        .delimiter(",")
        .decimalMark(".")
        .decimalScale(2)
        .build()
        .extend(priceField); // Currently, it's not possible to extend a number field

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions