fix(plugin-formula): remove showUnchecked option (#1730)

This commit is contained in:
Junyi 2023-04-21 09:23:53 +07:00 committed by GitHub
parent 604a85b74c
commit 673c246eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,16 +7,16 @@ import { NAMESPACE } from '../locale';
const booleanReactions = [
{
dependencies: ['dataType'],
fulfill: {
state: {
display: '{{$deps[0] === "boolean" ? "visible" : "none"}}',
},
},
}
];
// const booleanReactions = [
// {
// dependencies: ['dataType'],
// fulfill: {
// state: {
// display: '{{$deps[0] === "boolean" ? "visible" : "none"}}',
// },
// },
// }
// ];
const numberReactions = [
{
@ -97,14 +97,14 @@ export default {
required: true,
default: 'double',
},
'uiSchema.x-component-props.showUnchecked': {
type: 'boolean',
title: '{{t("Display X when unchecked")}}',
default: false,
'x-decorator': 'FormItem',
'x-component': 'Checkbox',
'x-reactions': booleanReactions
},
// 'uiSchema.x-component-props.showUnchecked': {
// type: 'boolean',
// title: '{{t("Display X when unchecked")}}',
// default: false,
// 'x-decorator': 'FormItem',
// 'x-component': 'Checkbox',
// 'x-reactions': booleanReactions
// },
'uiSchema.x-component-props.step': {
type: 'string',
title: '{{t("Precision")}}',