wireless: Scan Timer is a number between 0 and 1440
authorSukru Senli <sukru.senli@inteno.se>
Wed, 8 Mar 2017 10:39:30 +0000 (11:39 +0100)
committerSukru Senli <sukru.senli@inteno.se>
Wed, 8 Mar 2017 10:39:30 +0000 (11:39 +0100)
plugins/juci-wireless/src/widgets/uci.wireless.device.edit.html

index ca1514a..88d44f2 100644 (file)
@@ -16,7 +16,7 @@
                </juci-config-line>
                <div ng-show="showExpert">
                        <juci-config-line title="{{'Scan Timer'|translate}}" ng-show="device.channel.value == 'auto'">
-                               <input type="text" class="form-control" ng-model="device.scantimer.value" placeholder="{{'Timer Interval'|translate}}"/>
+                               <input type="number" max="1440" min="0" class="form-control" ng-model="device.scantimer.value" placeholder="{{'Timer Interval'|translate}}"/>
                        </juci-config-line>
                        <!--<juci-config-line title="{{'RIFS'|translate}}"> Not in this version of JUCI maby when we have better Accesscontrol
                                <switch class="green" ng-model="device.rifs.value"/>