I have a custom widget that applies certain transformation to decimal inputs. However, I want the widget to copy original Mendix functionality that belongs to a numberInput. Can I make it so my widgets inherits or extends the numberinput field so that it retains all functionality that Mendix provides? An example would be the autoformatting of digits after leaving focus of the field. For instance when I insert ‘10000’ into a Mendix numberInput field, it autoformats it to ‘10.000’. How can my custom widget inherit this function? Thanks in advance for any help :)
Marius van der Knaap
As far as I know, there's no way to ‘inherit’ from a Mendix default widget. Looking at your requirements, you could take a look at the FormatNumber widget from the AppStore (NB: Mendix 6!). You could check out how they solved it!