Directory

MoneyField - Vaadin Add-on Directory

Field for entering JSR354 javax.money.MonetaryAmounts (including both amount and currency) MoneyField - Vaadin Add-on Directory
MoneyField is a simple field for entering / displaying monetary amounts (amount and currency) bound to a [JSR-354](https://github.com/JavaMoney/jsr354-api) [javax.money.MonetaryAmount](https://javamoney.github.io/apidocs/javax/money/MonetaryAmount.html). The user can enter the amount and select the currency from a drop-down. Developers can select which currencies are available, pre-select a currency, make the currency read-only and even alow the user to enter simple calculations like "(10+12)*1,2". The amount is formatted and rounded according to the locale of the UI. Icon made by [Freepik](https://www.freepik.com") from [Flaticon](www.flaticon.com)
View on GitHub

MoneyField version 1.0.2
fixed NPE when clearing

MoneyField version 1.1.0
* added/improved javadoc * fixed overflow exception on huge amounts * added possible validation * added possible theme-variants (e.g. alignment) * updated to latest vaadin version (21.0.3)

MoneyField version 2.0.0
Added possibility for entering primitive calculations like (1,23+8,99) * 1,2 in amount field Amount field is now formatted according to locale (including thousands-delimiter) based on ICU format (e.g. 9,87,654.32 for indian locale)

MoneyField version 2.1.9
updated dependencies, fixed bug when clearing the moneyfield

MoneyField version 2.2.0
Updated to support Vaadin 24.X

MoneyField version 2.2.1
fixed ArithmeticException when entering a division with non-terminating decimal expansion (like 1/3)