[Enhancement] [form-item] ElForm ElFormItem组件的表单校验提示,希望新增气泡提示。 #16372
gaylen1
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Feature type:
Enhancement
Details
form-item
Description
ElFormItem校验错误信息提示采用插槽展示。会在input组件下面预留18px的底部间距,如过不预留间距就会导致错误信息被覆盖,这样就会导致强制预留间距。有的时候有些场景信息需要集中预览,以前传统项目有很多气泡提示错误信息就很适应这种场景。
Additional comments
(empty)
当我把ElFormItem组件底部间距调成10px时会出现如下图情况:
期望:
希望作者提供气泡悬浮提示,或者提供api让开发者自己实现。
我也试着找其他解决办法,我在我开发的项目中重写了elform elformitem虽然可以实现气泡提示,但是el-input里面有些焦点事件直向的是node_modules下的代码,这个焦点事件可以在输入框数据是对的时候可以直接隐藏错误信息。
2 votes ·
Beta Was this translation helpful? Give feedback.
All reactions