opensmarthouse / opensmarthouse-web

Provides public elements of OpenSmartHouse web site including ZWave database import/export and log file processors.
0 stars 2 forks source link

Configuration Parameter Minimum #20

Closed bwosborne2 closed 3 years ago

bwosborne2 commented 3 years ago

Configuration Parameter Minimum

If the minimum value is 0 the edit window displays no value for that field. I even set it to 0 and verified.

cdjackson commented 3 years ago

I've changed this to a text input, and changed the way it's formatted - it seems to work now. Please keep an eye out for any errors in this area.

bwosborne2 commented 3 years ago

I assume somewhere you are still check ing for a valid numeric value? Or is any invalid value automatically 0 ?

For instance, somebody, when copying could inadvertently ass a space, invalidating the value.

cdjackson commented 3 years ago

A blank or space is fine - no minimum is perfectly valid.

If there are other issues, then let's open another issue - let's not just keep adding to this which simply talks about.0 not being able to be set.