Invalid when setting clearable in el-input of elementUI framework? And there is a tag tag in the el-input?

problem description

< el-form-item label= configuration item >

            <el-input placeholder="" v-model="typeSelect" clearable></el-input>
        </el-form-item>

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

< el-form-item label= "configuration items" >

    <el-input placeholder="" v-model="typeSelect" clearable></el-input>

< / el-form-item >

what result do you expect? What is the error message actually seen?

reference document writing is not valid on the page

Apr.28,2022
The

clearable property receives a Boolean value. When setting it, you should use the method of clearable= "false"


look at the code. Do you see if there is any error in the console? is it that element has not correctly introduced


is the element-ui version not used correctly?


should be the wrong version or normal after I have encountered this problem and executed npm update.

Menu