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 = [
|
// const booleanReactions = [
|
||||||
{
|
// {
|
||||||
dependencies: ['dataType'],
|
// dependencies: ['dataType'],
|
||||||
fulfill: {
|
// fulfill: {
|
||||||
state: {
|
// state: {
|
||||||
display: '{{$deps[0] === "boolean" ? "visible" : "none"}}',
|
// display: '{{$deps[0] === "boolean" ? "visible" : "none"}}',
|
||||||
},
|
// },
|
||||||
},
|
// },
|
||||||
}
|
// }
|
||||||
];
|
// ];
|
||||||
|
|
||||||
const numberReactions = [
|
const numberReactions = [
|
||||||
{
|
{
|
||||||
@ -97,14 +97,14 @@ export default {
|
|||||||
required: true,
|
required: true,
|
||||||
default: 'double',
|
default: 'double',
|
||||||
},
|
},
|
||||||
'uiSchema.x-component-props.showUnchecked': {
|
// 'uiSchema.x-component-props.showUnchecked': {
|
||||||
type: 'boolean',
|
// type: 'boolean',
|
||||||
title: '{{t("Display X when unchecked")}}',
|
// title: '{{t("Display X when unchecked")}}',
|
||||||
default: false,
|
// default: false,
|
||||||
'x-decorator': 'FormItem',
|
// 'x-decorator': 'FormItem',
|
||||||
'x-component': 'Checkbox',
|
// 'x-component': 'Checkbox',
|
||||||
'x-reactions': booleanReactions
|
// 'x-reactions': booleanReactions
|
||||||
},
|
// },
|
||||||
'uiSchema.x-component-props.step': {
|
'uiSchema.x-component-props.step': {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
title: '{{t("Precision")}}',
|
title: '{{t("Precision")}}',
|
||||||
|
Loading…
Reference in New Issue
Block a user