fix: Add droppable state for booleans when mapping (#5838)

This commit is contained in:
Mutasem Aldmour
2023-03-31 12:35:02 +02:00
committed by GitHub
parent 96533a995c
commit e3884ce378
2 changed files with 35 additions and 0 deletions

View File

@@ -298,6 +298,14 @@
</n8n-option>
</n8n-select>
<!-- temporary state of booleans while data is mapped -->
<n8n-input
v-else-if="parameter.type === 'boolean' && droppable"
:size="inputSize"
:value="JSON.stringify(displayValue)"
:disabled="isReadOnly"
:title="displayTitle"
/>
<el-switch
v-else-if="parameter.type === 'boolean'"
class="switch-input"