mirror of
https://github.com/KevinMidboe/nova-map-fields.git
synced 2025-10-29 17:50:27 +00:00
Moved route type header
This commit is contained in:
2
dist/js/field.js
vendored
2
dist/js/field.js
vendored
File diff suppressed because one or more lines are too long
@@ -7,15 +7,15 @@
|
|||||||
@input="triggerChange"
|
@input="triggerChange"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<p v-if="edit"><b>Velg rutetype:</b></p>
|
||||||
<div v-if="edit" class="flex block my-2">
|
<div v-if="edit" class="flex block my-2">
|
||||||
<p><b>Velg rute type:</b></p>
|
|
||||||
<div v-for="option in routeTypes" class="ml-2">
|
<div v-for="option in routeTypes" class="ml-2">
|
||||||
<input
|
<input
|
||||||
type="radio"
|
type="radio"
|
||||||
:id="option.value"
|
:id="option.value"
|
||||||
:checked="option.value === selectedRouteType"
|
:checked="option.value === selectedRouteType"
|
||||||
:value="option.value"
|
:value="option.value"
|
||||||
@change="updatedRouteType">
|
@change="updateRouteType">
|
||||||
<label :for="option.value">{{ option.name }}</label>
|
<label :for="option.value">{{ option.name }}</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -83,7 +83,7 @@ export default {
|
|||||||
|
|
||||||
updateRouteType(event) {
|
updateRouteType(event) {
|
||||||
this.selectedRouteType = event.target.value;
|
this.selectedRouteType = event.target.value;
|
||||||
this.triggerChange();
|
this.triggerChange(this.localValue);
|
||||||
},
|
},
|
||||||
|
|
||||||
async triggerChange(markers) {
|
async triggerChange(markers) {
|
||||||
|
|||||||
Reference in New Issue
Block a user