comparison client/src/components/importschedule/importtypes/Bottleneck.vue @ 2603:8d767359fddb

Improve tolerance input Mention unit in field header and prevent input of negative values.
author Tom Gottfried <tom@intevation.de>
date Tue, 12 Mar 2019 16:16:43 +0100
parents bc1b43885a4d
children
comparison
equal deleted inserted replaced
2602:5d0e5159190f 2603:8d767359fddb
49 </div> 49 </div>
50 <div class="d-flex flex-row"> 50 <div class="d-flex flex-row">
51 <div class="flex-column mt-3 mr-3 w-50"> 51 <div class="flex-column mt-3 mr-3 w-50">
52 <div class="flex-row text-left"> 52 <div class="flex-row text-left">
53 <small class="text-muted"> 53 <small class="text-muted">
54 <translate>Tolerance for snapping of waterway axis</translate> 54 <translate>Tolerance for snapping of waterway axis [m]</translate>
55 </small> 55 </small>
56 </div> 56 </div>
57 <div class="w-100"> 57 <div class="w-100">
58 <input 58 <input
59 @input="toleranceChanged" 59 @input="toleranceChanged"
60 class="tolerance form-control" 60 class="tolerance form-control"
61 type="number" 61 type="number"
62 min="0"
62 :value="tolerance" 63 :value="tolerance"
63 /> 64 />
64 </div> 65 </div>
65 <div v-if="!tolerance" class="d-flex flex-row"> 66 <div v-if="!tolerance" class="d-flex flex-row">
66 <small 67 <small