38
Views
6
Comments
Strange UI when too much "*"
Question
Application Type
Mobile

This is my block, and i will use this block in screen and input the value like the image, but there is a strange UI with the first three "*". Can any one help me please ?

2025-07-28 06-45-20
Rupesh Patil

Hi @Le Quang Trieu 

Could you please share the .oml file you mentioned? It would be helpful for reviewing and understanding the implementation. 

Thanks

UserImage.jpg
Le Quang Trieu

Sorry but it is private source, i have a block that has NumberAccount, and i use this block in a screen and pass into NumberAccount such as "********4326", and it goes like this. This UI is so weird.

2026-01-28 16-57-48
Mihai Melencu
Champion

Hi @Le Quang Trieu ,

I tried to reproduce the issue on my end, but everything seems to work fine. Could you share a sample OML? Also, are you applying any custom CSS that might be affecting the behavior? 

UserImage.jpg
Supriya Malla

Hi @Le Quang Trieu,

Everything seems fine on my end. Could you please try reproducing the issue in your personal environment and share the OML file? 


2025-08-20 12-58-03
ADITI CHATURVEDI

Option 1: Wrap the Expression in a Container

In your Block:

Put the Expression that shows ****4320 inside a Container.

Use the following CSS class for the Container (through the Styles tab):

.masked-value {

display: inline-block;

overflow: visible;

text-overflow: clip;

vertical-align: middle;

}

In addition, set the container with your class masked-value.

Option 2: Use a monospaced font

If your masking (*) and digits are not lining up properly, you can set a monospaced font:

.masked-value {

font-family: monospace;

letter-spacing: 1px;

}

In this way, the width of * and digits is the same.

Option 3: Don't put it directly in an Input or Form Control

If your Expression is in an input-like structure (for instance, inside a ), then take it out of that container.

OutSystems automatically sets .form-control with padding and overflow rules which may be the reason why your characters are being cut off.

Option 4: Modify padding or width

If it is only cut from the visual side on one side:

.masked-value {

padding-left: 4px;

}

2025-12-29 06-17-15
Deepak Raj M

Hi @Le Quang Trieu can you try this

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.