Added a textfield document to only allow textfields to have a numeric
value (min, max, maxDecimals are configurable).