Currently when using the default "Text" widget from mendix.
You can use attributes with {1} or {2} to create dynamic text based on the data provided. I would like to have more flexibility in the displaying of these captions.
I would like to be able to:
- Format decimal so that the precision can be set, preferably including the JAVA format decimal options to include a currency symbol (https://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html)
- Format dates using moment.js, including locale variations, relative times and calendar times.
- Replace boolean true / false values with custom replacement texts.
- Replace enumeration values and set a custom text to display per enumeration value. This way one enumeration could be used to set different display texts in different screens and the caption values can be used in drop downs/administrative pages.
- Customizing the {1} to {DaysFromNow} or any other textual value so that it immediately can be readable in the modeler.