mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
Minor bug fixes
This commit is contained in:
parent
5c933ce847
commit
cc69c0060c
2 changed files with 298 additions and 323 deletions
|
|
@ -29,10 +29,8 @@ export const currencyinputConfig = {
|
||||||
type: 'code',
|
type: 'code',
|
||||||
displayName: 'Default value',
|
displayName: 'Default value',
|
||||||
validation: {
|
validation: {
|
||||||
schema: {
|
schema: { type: 'union', schemas: [{ type: 'string' }, { type: 'number' }] },
|
||||||
type: 'string',
|
defaultValue: 0,
|
||||||
},
|
|
||||||
defaultValue: 'Default value',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decimalPlaces: {
|
decimalPlaces: {
|
||||||
|
|
@ -241,16 +239,6 @@ export const currencyinputConfig = {
|
||||||
handle: 'setBlur',
|
handle: 'setBlur',
|
||||||
displayName: 'Set blur',
|
displayName: 'Set blur',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
handle: 'disable',
|
|
||||||
displayName: 'Disable(deprecated)',
|
|
||||||
params: [{ handle: 'disable', displayName: 'Value', defaultValue: '{{false}}', type: 'toggle' }],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
handle: 'visibility',
|
|
||||||
displayName: 'Visibility(deprecated)',
|
|
||||||
params: [{ handle: 'visibility', displayName: 'Value', defaultValue: '{{false}}', type: 'toggle' }],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
handle: 'setVisibility',
|
handle: 'setVisibility',
|
||||||
displayName: 'Set visibility',
|
displayName: 'Set visibility',
|
||||||
|
|
@ -281,9 +269,9 @@ export const currencyinputConfig = {
|
||||||
showOnMobile: { value: '{{false}}' },
|
showOnMobile: { value: '{{false}}' },
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
value: { value: '' },
|
value: { value: '0' },
|
||||||
label: { value: 'Label' },
|
label: { value: 'Label' },
|
||||||
placeholder: { value: 'Enter your number' },
|
placeholder: { value: 'Enter amount' },
|
||||||
visibility: { value: '{{true}}' },
|
visibility: { value: '{{true}}' },
|
||||||
disabledState: { value: '{{false}}' },
|
disabledState: { value: '{{false}}' },
|
||||||
loadingState: { value: '{{false}}' },
|
loadingState: { value: '{{false}}' },
|
||||||
|
|
|
||||||
|
|
@ -29,10 +29,8 @@ export const currencyinputConfig = {
|
||||||
type: 'code',
|
type: 'code',
|
||||||
displayName: 'Default value',
|
displayName: 'Default value',
|
||||||
validation: {
|
validation: {
|
||||||
schema: {
|
schema: { type: 'union', schemas: [{ type: 'string' }, { type: 'number' }] },
|
||||||
type: 'string',
|
defaultValue: 0,
|
||||||
},
|
|
||||||
defaultValue: 'Default value',
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
decimalPlaces: {
|
decimalPlaces: {
|
||||||
|
|
@ -241,16 +239,6 @@ export const currencyinputConfig = {
|
||||||
handle: 'setBlur',
|
handle: 'setBlur',
|
||||||
displayName: 'Set blur',
|
displayName: 'Set blur',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
handle: 'disable',
|
|
||||||
displayName: 'Disable(deprecated)',
|
|
||||||
params: [{ handle: 'disable', displayName: 'Value', defaultValue: '{{false}}', type: 'toggle' }],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
handle: 'visibility',
|
|
||||||
displayName: 'Visibility(deprecated)',
|
|
||||||
params: [{ handle: 'visibility', displayName: 'Value', defaultValue: '{{false}}', type: 'toggle' }],
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
handle: 'setVisibility',
|
handle: 'setVisibility',
|
||||||
displayName: 'Set visibility',
|
displayName: 'Set visibility',
|
||||||
|
|
@ -281,9 +269,9 @@ export const currencyinputConfig = {
|
||||||
showOnMobile: { value: '{{false}}' },
|
showOnMobile: { value: '{{false}}' },
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
value: { value: '' },
|
value: { value: '0' },
|
||||||
label: { value: 'Label' },
|
label: { value: 'Label' },
|
||||||
placeholder: { value: 'Enter your number' },
|
placeholder: { value: 'Enter amount' },
|
||||||
visibility: { value: '{{true}}' },
|
visibility: { value: '{{true}}' },
|
||||||
disabledState: { value: '{{false}}' },
|
disabledState: { value: '{{false}}' },
|
||||||
loadingState: { value: '{{false}}' },
|
loadingState: { value: '{{false}}' },
|
||||||
|
|
@ -312,4 +300,3 @@ export const currencyinputConfig = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
Loading…
Reference in a new issue