Comments (3)
升级element-plus为2.7.0版本以上,配置属性:empty-values="[null, undefined]"
from element-plus.
我也郁闷了半天,请查看文档:https://element-plus.org/zh-CN/component/config-provider.html#%E7%A9%BA%E5%80%BC%E9%85%8D%E7%BD%AE
from element-plus.
我也遇到了次情况
<el-select :empty-values="['', null, undefined]" :value-on-clear="''" v-model="queryParams.examineStatus" placeholder="请选择审核状态" clearable > <el-option label="全部" :value="''" /> <el-option v-for="dict in examine_status" :key="dict.value" :label="dict.label" :value="dict.value" /> </el-select>
from element-plus.
Related Issues (20)
- [Component] [input] el-input type='textarea' focus and blur events are not emitted in version 2.8.0 HOT 1
- [Component] [table-v2] table-v2 component would be useful if only two scrolling issues were resolved. HOT 3
- [Component] [select] When setting the value of the el-select component to "" or null, an empty tag label appears. HOT 2
- [Component] [pagination, config-provider] el-config-provider的size如果变化过快el-pagination受影响会有控制台报错 HOT 12
- [Docs] Missing search result for `Select` HOT 1
- [Component] [date-picker] el-date-picker 组件 type="week" 时,设置value-format属性后,选择日期会出错。 HOT 3
- [Component] 点击popover窗口后按esc键popover消失
- [Component] [dropdown] el-dropdown hover时导致input元素失焦 HOT 1
- [Component] [dialog] el-dialog opened会在el-dialog未显示时调用 HOT 3
- [Component] [input] el-input type="textarea" 时,blur 事件未正常触发 HOT 4
- [Component] [All] el-Dropdown在使用时控制台会报错。即使官网也有这个问题。
- [Component] [All] el-Dropdown在使用时控制台会报错。即使官网也有这个问题。 HOT 1
- [Component] [table-column] el-table-column中width属性设置不生效 HOT 2
- [Component] [table-column, switch] 二次封装el-table-column+el-switch初始化默认执行一次change事件 HOT 1
- [Component] [table, table-column] el-table-column 中使用for循环,使用v-bind="item"动态绑定多个值,结果<el-table>中使用 row-key="id" 实现树形结构时,没有生效 HOT 1
- [Component] [table] el-table 空值会影响sortable HOT 9
- [Component] [checkbox-button] 【style bug】when checkbox in checkbox group class priority HOT 1
- [Docs] [All] 官网的 playground 功能失效了 HOT 3
- el-table-cloumn的width配置,在采用非px单位时(如rem 、%)失效,请考虑字符串透传,给rem一条活路 HOT 1
- [Component] [carousel] el-carousel组件遇上sticky属性显示层级错误 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from element-plus.