Hi All,
We are implementing CAP project with auto generated Fiori action dialogs.
I have added currency to the main entity according to the guidelines.
using {
managed, Currency} from '@sap/cds/common';entity MainEntity : managed { key RequestID : UUID; currencyCode : Currency;}

Looks like abap annotations https://sapinaminute.com/cds-semantic-annotations-currency-unit-and-measure-unit/
I want to achieve this validation behaviour. But it doesn't work now.
Example of validation
https://sapui5.hana.ondemand.com/#/entity/sap.ui.comp.smartfield.SmartField/sample/sap.ui.comp.sample.smartfield.CurrencyValidation


Could you please provide some working example?
Regards,
Yauhen