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

Disable Numeric Entry Widget

Disable Numeric Entry Widget

This is a minor one, but it would be really nice if we could disable the numeric entry widget like other input widgets.

 

The ability to use the numeric widget gets limited when needing a read only mashup without doing some trickery and unfortunately the styling doesn't follow along.

2 Comments
AE_9893705
3-Visitor

Hello Travis

 

I agree with you, as I would like to read only changed based on the user, I'm not sure if this can be achieved.

You mentioned "some trickery" is possible to share ?

 

Thanks

SN_9382624
3-Visitor

Hello Travis,

I also need the function and would be interested in the "trickery".

 

Further it would be interesting if there is a specific reason for the "Numeric Entry" widget not able to be "Disabled" because all other input fields are able to.

 

@AE_9893705 

My workaround is to use a "Text Field" which you can disable and bind a "Expression" with a Regular Expresssion to it which assures that the string is in the correct format (e.g. 12.55). After that you can cast the String to  a "Number" or better said float in another "Expression". All done in the mashup builder.

It's realy not nice, but it was helpful in my use case.

 

best regards