It would be very useful if formatters could have parameters so that, for example, an alternative BooleanFormatter could be created which could have the expected true and false values passed in as parameters, rather than only working for true = 1.
Currently this isn't possible, as the Formatter on TextField is internal.
It would be very useful if formatters could have parameters so that, for example, an alternative BooleanFormatter could be created which could have the expected true and false values passed in as parameters, rather than only working for true = 1.
Currently this isn't possible, as the Formatter on TextField is internal.