Update some form fields to use proper namings

This commit is contained in:
Matthias 2022-11-18 16:16:14 +01:00
parent d07e1d229c
commit 775481da6b
3 changed files with 6 additions and 7 deletions

View File

@ -46,13 +46,13 @@
> >
<div class="ml-2"> <div class="ml-2">
<b-select <b-form-select
v-model="plotStore.plotConfigName" v-model="plotStore.plotConfigName"
:options="plotStore.availablePlotConfigNames" :options="plotStore.availablePlotConfigNames"
size="sm" size="sm"
@change="plotStore.plotConfigChanged" @change="plotStore.plotConfigChanged"
> >
</b-select> </b-form-select>
</div> </div>
<div class="ml-2 mr-0 mr-md-1"> <div class="ml-2 mr-0 mr-md-1">

View File

@ -107,14 +107,14 @@
> >
</div> </div>
<div v-if="showConfig" class="col-mb-5 ml-1 mt-2"> <div v-if="showConfig" class="col-mb-5 ml-1 mt-2">
<b-textarea <b-form-textarea
id="TextArea" id="TextArea"
v-model="plotConfigJson" v-model="plotConfigJson"
class="textArea" class="textArea"
size="sm" size="sm"
:state="tempPlotConfigValid" :state="tempPlotConfigValid"
> >
</b-textarea> </b-form-textarea>
</div> </div>
</div> </div>
</template> </template>
@ -136,7 +136,6 @@ export default defineComponent({
columns: { required: true, type: Array as () => string[] }, columns: { required: true, type: Array as () => string[] },
asModal: { required: false, default: true, type: Boolean }, asModal: { required: false, default: true, type: Boolean },
}, },
emits: ['input'],
setup() { setup() {
const plotStore = usePlotConfigStore(); const plotStore = usePlotConfigStore();

View File

@ -44,14 +44,14 @@
label-for="ordertype-input" label-for="ordertype-input"
invalid-feedback="OrderType" invalid-feedback="OrderType"
> >
<b-select <b-form-select
v-model="ordertype" v-model="ordertype"
class="ml-2" class="ml-2"
:options="['market', 'limit']" :options="['market', 'limit']"
style="min-width: 7em" style="min-width: 7em"
size="sm" size="sm"
> >
</b-select> </b-form-select>
</b-form-group> </b-form-group>
</form> </form>
</b-modal> </b-modal>