values working, handling validation
<!-- Intervention Parameters -->
<b-card no-body>
<b-card-header header-tag="header" class="p-0 rounded-0" role="tab" header-bg-variant="dark">
- <b-button block v-b-toggle.parameters-intervention variant="link">Interventions <span class="ti-angle-up"></span> <span class="ti-angle-down"></span></b-button>
+ <b-button block v-b-toggle.parameters-intervention variant="link">Interventions?? <span class="ti-angle-up"></span> <span class="ti-angle-down"></span></b-button>
</b-card-header>
<b-collapse id="parameters-intervention" visible role="tabpanel">
<b-card no-body class="border-0 rounded-0">
<div class="form-group">
<div class="input-group mb-3">
<template v-for="field in intervention.fields">
- <input :max="field.max || sim_length.max" :min="field.min || 0" :placeholder="field.label" :name="field.key"
+ <input :max="field.max || sim_length.max" :min="field.min || 0" :value="field.value" :name="field.key"
:aria-label="field.label" class="form-control" v-if="field.type !== 'select'"
:type="field.type" v-b-tooltip.hover :title="field.tooltip">
<select class="form-control" :name="field.key" v-else>
- <option v-for="option in field.options" :value="option.value">{{option.label}}</option>
+ <option v-for="option in field.options" :value="option.value">{{option.value}}</option>
</select>
<div class="input-group-append" v-if="field.key === 'level'">
<span class="input-group-text">%</span>
