We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
反馈问题请先查看文档和务必提供详细的复现代码,遵循如下格式,描述不清楚的问题将会直接关闭。
vue2 + element
想知道下拉或单选 多选等组件的选项内容 是否支持disabled置灰
必要时提供复现demo,如codepen,github 复现仓库,playground分享链接等 https://form.lljj.me/index.html#/demo?ui=VueElementForm&type=Test&schema=%7B%22title%22%3A%22%E6%B5%8B%E8%AF%95%E4%B8%93%E7%94%A8%E9%A1%B5%22,%22type%22%3A%22object%22,%22description%22%3A%22%E8%BE%93%E5%85%A5%E4%BD%A0%E7%9A%84Schema%EF%BC%8C%E9%A1%B6%E9%83%A8%E5%88%86%E4%BA%AB%E6%8C%89%E9%92%AE%E5%8D%B3%E5%8F%AF%E5%BF%AB%E9%80%9F%E7%94%9F%E6%88%90%E9%93%BE%E6%8E%A5%22,%22properties%22%3A%7B%22string_1714299493973x0%22%3A%7B%22title%22%3A%22%E5%8D%95%E9%80%89%28Radio%29%22,%22type%22%3A%22string%22,%22ui%3Awidget%22%3A%22RadioWidget%22,%22ui%3AenumOptions%22%3A%5B%7B%22value%22%3A%221%22,%22label%22%3A%221%22%7D,%7B%22value%22%3A%222%22,%22label%22%3A%222%22,%22disabled%22%3A%22true%22%7D,%7B%22value%22%3A%223%22,%22label%22%3A%223%22%7D%5D%7D%7D%7D&formData=%7B%22string_1714299493973x0%22%3A%221%22%7D&uiSchema=%7B%7D&errorSchema=%7B%7D&formFooter=%7B%22show%22%3Atrue%7D&formProps=%7B%22labelWidth%22%3A%22100px%22,%22inline%22%3Afalse,%22labelPosition%22%3A%22top%22,%22inlineFooter%22%3Afalse,%22layoutColumn%22%3A1%7D
可以支持选项置灰功能
The text was updated successfully, but these errors were encountered:
可以支持 ,我看看怎么合适
Sorry, something went wrong.
我也想问这个
目前来说最简单的是自己去自定义一个 widget,传入disabled的参数
按目前的实现会是 option: { "ui:disabled": true, label: 'Label', value: 'Value'
}
No branches or pull requests
反馈问题请先查看文档和务必提供详细的复现代码,遵循如下格式,描述不清楚的问题将会直接关闭。
vue和ui框架
vue2 + element
问题描述
想知道下拉或单选 多选等组件的选项内容 是否支持disabled置灰
如何复现
必要时提供复现demo,如codepen,github 复现仓库,playground分享链接等
https://form.lljj.me/index.html#/demo?ui=VueElementForm&type=Test&schema=%7B%22title%22%3A%22%E6%B5%8B%E8%AF%95%E4%B8%93%E7%94%A8%E9%A1%B5%22,%22type%22%3A%22object%22,%22description%22%3A%22%E8%BE%93%E5%85%A5%E4%BD%A0%E7%9A%84Schema%EF%BC%8C%E9%A1%B6%E9%83%A8%E5%88%86%E4%BA%AB%E6%8C%89%E9%92%AE%E5%8D%B3%E5%8F%AF%E5%BF%AB%E9%80%9F%E7%94%9F%E6%88%90%E9%93%BE%E6%8E%A5%22,%22properties%22%3A%7B%22string_1714299493973x0%22%3A%7B%22title%22%3A%22%E5%8D%95%E9%80%89%28Radio%29%22,%22type%22%3A%22string%22,%22ui%3Awidget%22%3A%22RadioWidget%22,%22ui%3AenumOptions%22%3A%5B%7B%22value%22%3A%221%22,%22label%22%3A%221%22%7D,%7B%22value%22%3A%222%22,%22label%22%3A%222%22,%22disabled%22%3A%22true%22%7D,%7B%22value%22%3A%223%22,%22label%22%3A%223%22%7D%5D%7D%7D%7D&formData=%7B%22string_1714299493973x0%22%3A%221%22%7D&uiSchema=%7B%7D&errorSchema=%7B%7D&formFooter=%7B%22show%22%3Atrue%7D&formProps=%7B%22labelWidth%22%3A%22100px%22,%22inline%22%3Afalse,%22labelPosition%22%3A%22top%22,%22inlineFooter%22%3Afalse,%22layoutColumn%22%3A1%7D
期望的结果
可以支持选项置灰功能
The text was updated successfully, but these errors were encountered: