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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

How to make numeric entry widget non-editable

AP_10343008
15-Moonstone

How to make numeric entry widget non-editable

How to make numeric entry widget non-editable?

ACCEPTED SOLUTION

Accepted Solutions
Velkumar
19-Tanzanite
(To:AP_10343008)

Hi @AP_10343008 

 

.disableNumericEntry .widget-numericentry {
    pointer-events : none;
}

 

Set TabSequence to -1

 

/VR

View solution in original post

3 REPLIES 3
Velkumar
19-Tanzanite
(To:AP_10343008)

Hi @AP_10343008 

 

I think we cannot disable the numeric entry widget.

 

You can try the TextField Widget with Mask value to accept only numbers and disable it in runtime

Velkumar_0-1696997024239.png

 

/VR

 

AP_10343008
15-Moonstone
(To:Velkumar)

In TextBoxField, I provided 99.99 to show numbers in percentage, still it is showing NAN when service is executing. 
In Numeric entry widget NAN is not coming. But it is editable. Is there any CSS to make numeric entry widget non-editable or disable mode.

Velkumar
19-Tanzanite
(To:AP_10343008)

Hi @AP_10343008 

 

.disableNumericEntry .widget-numericentry {
    pointer-events : none;
}

 

Set TabSequence to -1

 

/VR

Announcements


Top Tags