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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Textfield widget with Mask Number

AP_10343008
15-Moonstone

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