ElemeFE / ElemeFE/element

[Bug Report] el-input's preffix is displayed at wrong position when used without el-form tag.

Open
#19,321 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.0

### OS/Browsers version
macOS Catalina / Google Chrome 81

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/POPOPON/pen/rNOYWNB?editors=1010

### Steps to reproduce
Use el-input component with prefix slot without el-form and el-form-item tags surrounded it.

### What is Expected?
Prefix and suffix should be centered even if it is not in el-form tags

### What is actually happening?
They are displayed at the top of the input.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.