element-ui-empty-string-ex
v2.15.8
Published
A Component Library for Vue.js.
Downloads
2
Readme
A Vue.js 2.0 UI Toolkit for Web.
base on element-ui 2.15.8
必填项空串默认提示:输入内容不能为空字符串 如果想改提示校验里加这个{ whitespace: true, message: '活动名称不能为空字符串', trigger: 'blur' } { whitespace: false, message: '活动名称不能为空字符串', trigger: 'blur' },可以关闭空字符检测
其他内容请参考官网文档 https://element.eleme.cn/#/zh-CN
Install
npm install element-ui-empty-string-ex -S
Quick Start
import Vue from 'vue'
import Element from 'element-ui-empty-string-ex'
Vue.use(Element)
// or
import {
Select,
Button
// ...
} from 'element-ui-empty-string-ex'
Vue.component(Select.name, Select)
Vue.component(Button.name, Button)
For more information, please refer to Quick Start in our documentation.
Browser Support
Modern browsers.
Changelog
2022-12-15
- 必填项空串默认提示:输入内容不能为空字符串
- 如果想改提示校验里加这个{ whitespace: true, message: '活动名称不能为空字符串', trigger: 'blur' }
- { whitespace: false, message: '活动名称不能为空字符串', trigger: 'blur' },可以关闭空字符检测