Lines Matching full:form
8 <b-form id="form-ipv4" @submit.prevent="handleSubmit">
11 <b-form-group
15 <b-form-input
17 v-model="form.ipAddress"
19 :state="getValidationState(v$.form.ipAddress)"
20 @input="v$.form.ipAddress.$touch()"
22 <b-form-invalid-feedback role="alert">
23 <template v-if="v$.form.ipAddress.required.$invalid">
24 {{ $t('global.form.fieldRequired') }}
26 <template v-if="v$.form.ipAddress.ipAddress.$invalid">
27 {{ $t('global.form.invalidFormat') }}
29 </b-form-invalid-feedback>
30 </b-form-group>
33 <b-form-group
37 <b-form-input
39 v-model="form.gateway"
41 :state="getValidationState(v$.form.gateway)"
42 @input="v$.form.gateway.$touch()"
44 <b-form-invalid-feedback role="alert">
45 <template v-if="v$.form.gateway.required.$invalid">
46 {{ $t('global.form.fieldRequired') }}
48 <template v-if="v$.form.gateway.ipAddress.$invalid">
49 {{ $t('global.form.invalidFormat') }}
51 </b-form-invalid-feedback>
52 </b-form-group>
57 <b-form-group
61 <b-form-input
63 v-model="form.subnetMask"
65 :state="getValidationState(v$.form.subnetMask)"
66 @input="v$.form.subnetMask.$touch()"
68 <b-form-invalid-feedback role="alert">
69 <template v-if="v$.form.subnetMask.required.$invalid">
70 {{ $t('global.form.fieldRequired') }}
72 <template v-if="v$.form.subnetMask.ipAddress.$invalid">
73 {{ $t('global.form.invalidFormat') }}
75 </b-form-invalid-feedback>
76 </b-form-group>
79 </b-form>
84 <b-button form="form-ipv4" type="submit" variant="primary" @click="onOk">
114 form: {
123 this.form.gateway = this.defaultGateway;
128 form: {
149 Address: this.form.ipAddress,
150 Gateway: this.form.gateway,
151 SubnetMask: this.form.subnetMask,
161 this.form.ipAddress = null;
162 this.form.gateway = this.defaultGateway;
163 this.form.subnetMask = null;