-
- {
- handleOptionChange('format', value, index);
- }}
- fieldMeta={{
- type: 'select',
- displayName: 'Data format',
- options: [
- { name: 'Plain', value: 'plain' },
- { name: 'HTML', value: 'html' },
- { name: 'Markdown', value: 'markdown' },
- ],
- isFxNotRequired: true,
- }}
- paramType={'select'}
- />
-
-
-
-
- {
- handleOptionChange('label', value, index);
- }}
- />
-
-
-
- {
- handleOptionChange('description', value, index);
- }}
- />
-
-
-
- {
- handleOptionChange('value', value, index);
- }}
- />
-
-
- {
- handleOptionChange('icon.value', value, index);
- }}
- onVisibilityChange={(value) => {
- const transformedValue = getResolvedValue(value);
- handleOptionChange('iconVisibility', transformedValue, index);
- }}
- onFxPress={(active) => handleOptionChange('icon.fxActive', active, index)}
- fxActive={item?.icon?.fxActive}
- fieldMeta={{ type: 'icon', displayName: 'Icon' }}
- paramType={'icon'}
- iconVisibility={iconVisibility}
- />
-
-
- {
- handleOptionChange('visible.value', value, index);
- }}
- onFxPress={(active) => handleOptionChange('visible.fxActive', active, index)}
- fxActive={item?.visible?.fxActive}
- fieldMeta={{ type: 'toggle', displayName: 'Option visibility' }}
- paramType={'toggle'}
- />
-
-
- {
- handleOptionChange('disable.value', value, index);
- }}
- onFxPress={(active) => handleOptionChange('disable.fxActive', active, index)}
- fxActive={item?.disable?.fxActive}
- fieldMeta={{ type: 'toggle', displayName: 'Disable option' }}
- paramType={'toggle'}
- />
-
-