Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Numeric Widget value flashes as the exponential value in the input box when adding a decimal value of more than 6 or 7.
for example 0.000000001, it shows as 1e-8.
Issue: I want to only show the value instead of the exponential.
Solved! Go to Solution.
Hi there,
Since thingworx community is not responding, the only solution I have got is to use the constraint property to the Numeric Widget, with Minimum and Maximum values, something below the minimum and above the maximum is typed there will be an Pop-up showing up, saying out of range, which is again an UI Inconsistency, can't edit that Pop-up or disable it.
@paic @mnarang @CarlesColl
Thanks !!
I think this is as per design and JS constraint- https://www.ptc.com/en/support/article/CS276602. If feasible can you use another widget to display these long decimal values?
Hi @mnarang,
What will be the best widget to avoid this issue?
Thanks,
Shashi
Hi @pshashipreetham.
One option would be to use a text widget. If you would like to request a change in the current behavior, please feel free to post a request on the ThingWorx Ideas page.
Regards.
--Sharon
Hi @slangley ,
Thanks for the quick response, the issue didn't get solved, we have a raised Ticket in support !!
Thanks,
Shashi
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon
Hi there,
Since thingworx community is not responding, the only solution I have got is to use the constraint property to the Numeric Widget, with Minimum and Maximum values, something below the minimum and above the maximum is typed there will be an Pop-up showing up, saying out of range, which is again an UI Inconsistency, can't edit that Pop-up or disable it.
@paic @mnarang @CarlesColl
Thanks !!
There is an article on the support site.
Article - CS276602 - Numeric Entry Widget shows large numbers with an exponent in ThingWorx
https://www.ptc.com/en/support/article/CS276602
This discuss the question you are asking. The limit is being driven by JavaScript issue. The articles references a solution which can be found in StackOverflow.
Hope that address your issue.
Regards,
Peter