Skip to content

Commit

Permalink
chore: add suggestions for optionActions
Browse files Browse the repository at this point in the history
  • Loading branch information
michel committed Dec 24, 2024
1 parent 9c0a6ea commit 89d0c91
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/prefabs/structures/TextInput/options/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,18 @@ export const optionTemplates = {
// optionActions: {
// propertyBased: {
// onchange: [
// // optionAction('clearPropertyOption', 'propterty', { condition: runIf('propertyBased', 'EQ', 'false') })
// {
// action: 'clearPropertyOption',
// target: 'propterty',
// condition: ['propertyBased', 'EQ', 'false'],
// // condition: ['propertyBased', 'EQ', 'false'],
// condition: { key: 'propertyBased', comparator: 'EQ', value: 'false'}
// },
// {
// action: 'clearActionVariableOption',
// target: 'actionVariableId',
// condition: ['propertyBased', 'EQ', 'true'],
// // condition: ['propertyBased', 'EQ', 'true'],
// condition: { key: 'propertyBased', comparator: 'EQ', value: 'true'}
// },
// ],
// },
Expand All @@ -106,6 +109,7 @@ export const optionTemplates = {
// },
// property: {
// onchange: [
// // optionAction('setVariableOptionWithPropertyLabel', 'label')
// {
// action: 'setVariableOptionWithPropertyLabel',
// target: 'label',
Expand Down

0 comments on commit 89d0c91

Please sign in to comment.