bigDecimalField has many of the same features as textField, but it accepts only BigDecimal input.

  • XML element: bigDecimalField

  • Java class: JmixBigDecimalField


An example of bigDecimalField:

<bigDecimalField id="bigDecimalField"
big decimal field basics

Data Binding

You can bind a component to an entity and its attributes hold in a data container.

To bind bigDecimalField to an entity attribute:

  1. Specify the name of the data container as the dataContainer attribute value.

  2. Specify the name of the entity attribute as the property attribute value.

The entity attribute must be of BigDecimal type.

    <instance class="" id="stepDc">
        <fetchPlan extends="_base"/>
        <loader id="stepDl"/>
    <bigDecimalField dataContainer="stepDc"
big decimal field data binding


To generate a handler stub in Jmix Studio, use the Handlers tab of the Jmix UI inspector panel or the Generate Handler action available in the top panel of the view class and through the CodeGenerate menu (Alt+Insert / Cmd+N).


See Also

See the Vaadin Docs for more information.