el-select的提示语去掉
时间: 2023-08-19 08:13:49 浏览: 199
el-select-tree:ElementUI的el-select与el-tree结合
5星 · 资源好评率100%
引用\[2\]:要去掉el-select的提示语,可以通过修改placeholder的样式来实现。可以使用以下CSS代码来修改placeholder的字体颜色:
```css
.el-select .el-input__inner::placeholder {
color: transparent;
}
```
这样设置后,el-select的提示语将不再显示。\[2\]
#### 引用[.reference_title]
- *1* [element-ui中select树形控件以及多选标签消除检验提示信息](https://blog.csdn.net/qq_41821445/article/details/121562627)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [elementui修改提示文字(placeholder)的字体颜色el-input/el-input-number/el-select/el-cascader/el-time...](https://blog.csdn.net/weixin_48998573/article/details/129737865)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insertT0,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文