Element with selected input box, which does not pass the required verification after selection.

1. The problem is as above, related code:

<el-form ref="dynamicValidateForm" :model="dynamicValidateForm" label-suffix="" label-width="80px" label-position="left" >
    <el-row v-for="(demand, index) in dynamicValidateForm.demands">
        <el-col :span="4">
            <el-form-item :label="index+": "" :key="demand.key" :prop=""demands." + index + ".value1""
                          :rules="{required: true, message: "", trigger: "blur"}">
                <el-autocomplete class="inline-input" v-model="demand.value1" :fetch-suggestions="querySearch1" placeholder="" @select="handleSelect1"></el-autocomplete>
            </el-form-item>
        </el-col>
        <el-col :offset="1" :span="4">
            <el-form-item :label=""-"" :key="demand.key" :prop=""demands." + index + ".value2""
                          :rules="{required: false, message: "", trigger: "blur"}">
                <el-autocomplete class="inline-input" v-model="demand.value2" :fetch-suggestions="querySearch2" placeholder="" @select="handleSelect2"></el-autocomplete>
            </el-form-item>
        </el-col>
        <el-col :offset="1" :span="1">
            <el-button @click.prevent="removeDemand(demand)"></el-button>
        </el-col>
    </el-row>
    <el-form-item>
        <el-button @click="addDemand"></el-button>
        <el-button @click="test"></el-button>
    </el-form-item>
</el-form>
         

data area:

data: {
        position: [
            { "value": "UI"},
            { "value": "web"},
            { "value": ""},
            { "value": "ios"},
            { "value": ""},
            { "value": ""}
        ],
        technical: [
            { "value": "c"},
            { "value": "cPP"},
            { "value": "java"},
            { "value": "c-sharp"},
            { "value": "python"},
            { "value": "php"},
            { "value": "java script"}
            ],
        dynamicValidateForm: {
            demands: [{
                value1: "",
                value2: ""
            }]
        }
    },   

2. This is an input box with selection suggestions. Manual input can be verified by required, but the selection cannot be passed. The effect is as follows:

clipboard.png
:

clipboard.png

clipboard.png


clipboard.png
how to solve this problem?

Mar.03,2021

The

trigger attribute is miswritten. This is change.

clipboard.png


:prop="'domains.' + index + '.value1'" v-model="domain.value1"

  1. :prop="'domains.' + index + '.value1'" prop="value1"
  2. v-model="domain"

el-form:
http://element-cn.eleme.io/-sharp/...


fromfrom
sourcemap

clipboard.png

take a look at the breakpoint

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5063b-450c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5063b-450c8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?