Vgs Password Visual Transformation
class VgsPasswordVisualTransformation(val passwordChar: Char = DEFAULT_PASSWORD_MASK_CHAR, val range: IntRange = IntRange(0, Int.MAX_VALUE)) : VgsVisualTransformation
Visual transformation that hides each input character behind a mask glyph.
Use it on sensitive fields where the value should not be visible while typing. The mask is purely visual — the value submitted to VGS is the raw input.
Parameters
password Char
character drawn in place of each input character. Defaults to the bullet •.
range
index range of characters to mask with passwordChar. For example, range = 0..11 on input "4111111111111111" displays "••••••••••••1111".