mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-05 05:38:23 +08:00
fix(plugin-formula): remove showUnchecked option (#1730)
This commit is contained in:
parent
604a85b74c
commit
673c246eed
@ -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")}}',
|
||||
|
Loading…
Reference in New Issue
Block a user