Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
319 views
in Technique[技术] by (71.8m points)

vue.js - Elements library - "x" stops working when event @change is added - how to fix that?

When I add elements library e-date-picker there is a cross "x" to clear the selected dates. It works unless I add @change event - when I do so I cannot clear the data using "x". Can anyone advise how to fix it so that I could clear the data using "x"?

enter image description here

 <el-date-picker
      @change="filterResults"
      style="margin-bottom: 20px"
      v-model="timerange"
      type="daterange"
      start-placeholder="Start date"
      end-placeholder="End date"
      :default-time="['00:00:00', '23:59:59']">
    </el-date-picker>
question from:https://stackoverflow.com/questions/65935451/elements-library-x-stops-working-when-event-change-is-added-how-to-fix-th

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...