Sensitive data mask


Last updated
Was this helpful?
Data masking is used to hide sensitive parts of information in a text field or label by replacing selected characters with a symbol *. This helps protect data such as the PESEL number or credit card number so that they are not fully visible on the screen. The property Sensitive Data Mask can be found in the component properties panel, in the section Security. After enabling masking, the specified characters of the field value will be displayed as asterisks.

It should be remembered that sensitive data masking works only for fields populated with data from another source (e.g. a value taken from another field or service). If the user enters data into the field themselves, the mask will not be applied – the entered characters will remain fully visible. For example, if a text field A is automatically filled with a value copied from another field B (data source from another field), then a mask can be applied to the field A to hide part of the information. However, if the user enters data into A manually, masking will not work.
Masking can also be used on components of the type Label (Text) displaying application data. In the case of a label, in addition to enabling masking itself, an additional option is available Sensitive Data Masking Condition – it allows you to define a condition (logical), which, when met, will cause the given label to mask its value. This makes it possible, for example, to mask the PESEL number only for certain types of users or in specific process states.

Note: Do not combine Sensitive Data Mask and other formatters on the same field at the same time. In the case of text fields, it is recommended not to apply sensitive masking at the same time as a formatter (e.g. phone number formatting) to avoid conflicts and unexpected formatting behavior.
Demo application: demoTextComponents
Last updated
Was this helpful?
Was this helpful?
