Questions tagged [element-plus]

117 questions
0
votes
0 answers

Element-plus select 1.0.1-beta.24 options not displaying options properly

First of all, a disclaimer, we cannot update the package from version 1.0.1-beta.24. So I'm using Element plus Select in a Vue 3 project, It comes from a template I bought. I literally copy pasted the code from it. But when I click on it, th options…
Jarliev Pérez
  • 282
  • 6
  • 18
0
votes
2 answers

referencing el-date-picker inner elements

mounted() { console.log(this.$refs.datePickerRef.$el.querySelector('.el-input__inner'); } How do I convert this to vue3 options api? Tried ways suggested by chatgpt already, but nothing worked
Uma U
  • 51
  • 5
0
votes
0 answers

SSG blog render twice

I am developing a blog using Nuxt3 and Element Plus. I am deploying it to Firebase Hosting by generating it with CircleCI. The blog is in Japanese and can be accessed at https://roppong.com/blog/. While there are no issues when I run "yarn dev"…
0
votes
1 answer

Dynamically showing ElDialog component

The normal way we need to show el-dialog is like this Is there any way…
coure2011
  • 40,286
  • 83
  • 216
  • 349
0
votes
0 answers

Element Plus Problem el-table-infinite-scroll Issue (version 3.0.1)

I have a small issue with el-table-infinite-scroll. The problem is that, scrolling is not working when the table height less than 95px. Please check image below I tried several ways to solve but still scrolling is not working when the height of…
0
votes
0 answers

Creating a Global Function for a Custom Dialog Component in Nuxt.js 3

I want to create a global function that can be called from anywhere, like dialog('Title', 'ContentContentContentContent');. How can I make it available in the global environment so that I can call it anytime? Here is my current code for the dialog…
劉毛頭
  • 1
  • 3
0
votes
1 answer

:cell-class-name is not effective in el-calender

I want to use cell-class-name to set color for calender cell, but it's not effective. Is this usage not supported in Element anymore? I couldn't find related usage in the official documentation, but ChatGPT told me it can be used. "core-js":…
livid
  • 3
  • 1
0
votes
0 answers

Element Plus Autocomplete css bug

enter image description here the problem is that in the first click in input the autocomplete shows incorrect but after some time is start works well maybe something wrong with css
0
votes
0 answers

Testing a Vue3 and Element Plus component with shallowMount()

I have successfully tested components containing ElementPlus elements using @vue/test-utils mount() and applying a plugin as follows: mount(QcControls, { global: { plugins: [ElementPlus], } }) If I have other nested components that I wish…
nerdstrike
  • 181
  • 2
  • 4
0
votes
0 answers

How to use async validator on submit with element plus in Vue 3?

Context description I have a Vue 3 project and using element plus, I created a form with async validation. The code of validation function (Laravel precognition): const validatePrecognitive = async (rule: InternalRuleItem, value: Value, callback:…