Skip to content

【问题反馈】input输入框设置disabled属性时,样式看不出是置灰禁用状态 #154

@zyh520930

Description

@zyh520930

🐛 问题反馈 | Bug Report / Question

1. 问题描述

(https://uviewpro.cn/zh/components/input.html) 这个输入框组件,当我设置了disabled属性禁止输入时,跟其他未设置disabled的输入框看起来没任何区别,没有置灰,让人不知道这里是置灰的,体验上不好

2. 复现步骤

  • 相关页面/组件/功能入口
  • https://uviewpro.cn/zh/components/input.html
    
  • 操作步骤
  • <u-input v-model="form.taskNumber" disabled placeholder="自动生成" border />
    
  •  设置了disabled属性
    
  • 期望结果与实际结果
  •  期望样式看起来置灰
    
  •  但是实际跟没设置时看起来一样
    

3. 复现环境

  • uView Pro 版本:最新版本
  • uni-app 版本:最新版本
  • 运行平台:H5 / 微信小程序 / 支付宝小程序 / App / 其他
  • 浏览器或系统版本

感谢您的反馈!我们会尽快跟进和处理。如有更多细节,欢迎补充。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions