# Numeric input widget display issue with decimal

**URL:** <https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129>\
**Category:** Dashboard\
**Created:** [3 May 2022 15:41 UTC](https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129 "2022-05-03T15:41:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [3 May 2022 15:41 UTC](https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129/1 "2022-05-03T15:41:30Z")

</div>

Hi all,  
I have a problem displaying the Numeric Input widget in the Dashboard:  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/be7935f372206d6ae9f7317b792186967a414587.png)

1. If I put integers ex: 200, it fits in 4x1

2. if I put mini and maxi values and a step with 1 digit after the comma,  

3. in AUTO it is better but it overflows

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/0/40da27ab04e7964e54e943a03aba51535099f22f.png)

```auto
[{"id":"a26119cefbc4e8d5","type":"ui_numeric","z":"c94ec81014863dda","name":"","label":"orpConsigne","tooltip":"","group":"300a5085bc2621a4","order":6,"width":4,"height":1,"wrap":false,"passthru":true,"topic":"orpConsigne","topicType":"str","format":"{{value}}","min":"200","max":"900","step":1,"className":"","x":460,"y":1840,"wires":[["58856fb6c2735da6","5dc0303ab3e06447"]]},{"id":"b4939f4bb6a24d30","type":"ui_numeric","z":"c94ec81014863dda","name":"phConsigne","label":"phConsigne","tooltip":"","group":"300a5085bc2621a4","order":8,"width":4,"height":1,"wrap":false,"passthru":true,"topic":"phConsigne","topicType":"str","format":"{{value | number:1}}","min":"6.8","max":"7.8","step":"0.1","className":"","x":460,"y":1900,"wires":[[]]},{"id":"79b7a7fcc985a73e","type":"ui_numeric","z":"c94ec81014863dda","name":"phConsigne","label":"phConsigne","tooltip":"","group":"300a5085bc2621a4","order":10,"width":0,"height":0,"wrap":false,"passthru":true,"topic":"phConsigne","topicType":"str","format":"{{value}}","min":"6.8","max":"7.8","step":"0.1","className":"","x":460,"y":1950,"wires":[[]]},{"id":"300a5085bc2621a4","type":"ui_group","name":"Réglages","tab":"c1f30059dca54ab3","order":2,"disp":true,"width":"6","collapse":false,"className":""},{"id":"c1f30059dca54ab3","type":"ui_tab","name":"REGUL","icon":"dashboard","order":11,"disabled":false,"hidden":false}]

```

Node-Red v2.2.2  
node-red-dashboard v3.1.6

any idea ?  
Thanks

---

<div class="post-metadata">

**Author:** ![SuperNinja](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/superninja/32/5761_2.png) [@SuperNinja](https://discourse.nodered.org/u/SuperNinja)\
**Post date:** [4 May 2022 12:56 UTC](https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129/2 "2022-05-04T12:56:13Z")

</div>

@dceejay any idea ?

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [4 May 2022 17:06 UTC](https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129/3 "2022-05-04T17:06:42Z")

</div>

I see the same issue if min or max has decimal point.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [4 May 2022 17:23 UTC](https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129/4 "2022-05-04T17:23:10Z")

</div>

Yup - bug in size calculation... fix in progress

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 May 2022 17:23 UTC](https://discourse.nodered.org/t/numeric-input-widget-display-issue-with-decimal/62129/5 "2022-05-18T17:23:42Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
