← All updates

Masked fields: automatic capitals, and storage without separators

What changed. A field with elem = 'InputMask' and a mask attribute takes two options in its extra attribute, as JSON:

  • "uppercase": true turns letters into capitals as the user types, so 1234 ab becomes 1234 AB.
  • "save_formatted_value": false stores only the typed characters (1234AB) instead of the formatted value (1234 AB). The field still shows the formatted value.

For example: extra = N'{"uppercase":true,"save_formatted_value":false}'. Either way, a stored value that doesn't fit the mask is shown exactly as stored, and is only changed when the user edits it.

Who notices it. Developers of applications with masked fields, and their users.

What you need to do. Nothing. Without the options, fields behave as before. With the default, which stores the formatted value, make sure the column is long enough for it.

Availability. Part of the React 19 client from version 261106-r19.6.