Lines Matching refs:form
8 <b-form id="hostname-settings" @submit.prevent="handleSubmit">
11 <b-form-group
15 <b-form-input
17 v-model="form.hostname"
19 :state="getValidationState($v.form.hostname)"
20 @input="$v.form.hostname.$touch()"
22 <b-form-invalid-feedback role="alert">
23 <template v-if="!$v.form.hostname.required">
24 {{ $t('global.form.fieldRequired') }}
26 <template v-if="!$v.form.hostname.validateHostname">
27 {{ $t('global.form.lengthMustBeBetween', { min: 1, max: 64 }) }}
29 </b-form-invalid-feedback>
30 </b-form-group>
33 </b-form>
39 form="hostname-settings"
66 form: {
73 this.form.hostname = this.hostname;
78 form: {
90 this.$emit('ok', { HostName: this.form.hostname });
99 this.form.hostname = this.hostname;