cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

Textfield widget with Mask Number

AP_10343008
13-Aquamarine

Textfield widget with Mask Number

I provided text field widget with Mask Number. This field is displaying '-' symbol as default. Whenever I typed first digit the symbol '-' replaced with digit. But if the digit value passing from binding, then this widget is displaying '-9' Even though if the passed value is positive it is showing the digit after the symbol -. 

As i dont have option to use disable property in numeric entry widget, i have to go ahead with textfield with mask. 

 

Kindly tell me how to overcome this symbol - when numeric value is passed from parameters.

 

 

ACCEPTED SOLUTION

Accepted Solutions
DanZ
15-Moonstone
(To:AP_10343008)

I usually remove the "mask" from the textfield via custom CSS because it just looks... ugly.

 

.widget-ptcstextfield::part(mask) {
    color: transparent;
}

 

View solution in original post

1 REPLY 1
DanZ
15-Moonstone
(To:AP_10343008)

I usually remove the "mask" from the textfield via custom CSS because it just looks... ugly.

 

.widget-ptcstextfield::part(mask) {
    color: transparent;
}

 

Announcements


Top Tags