henry-spanka / node-red-contrib-hikvision

Hikvision API for Node Red
MIT License
10 stars 1 forks source link

config-Input of port-nummer is not numeric only #15

Open ozett opened 4 years ago

ozett commented 4 years ago

the config node allow letters in the port-number input-field. i hat a typo-error and and debug error. may it is possible to allow only numeric input in this field to make it fool-proof? 👶

image

henry-spanka commented 4 years ago

Seems reasonable. We could do this by implementing a validation filter.

ozett commented 4 years ago

👍