Beautiful Open-Source Form Builder
Add clearable property for select input (#936)
Chirag Chhatrala6c134c078a23
diff --git a/client/components/open/forms/BlockRenderer.vue b/client/components/open/forms/BlockRenderer.vueindex 64aa98afe..aac2e2248 100644--- a/client/components/open/forms/BlockRenderer.vue+++ b/client/components/open/forms/BlockRenderer.vue@@ -198,6 +198,7 @@ const boundProps = computed(() => {inputProperties.multiple = (field.type === 'multi_select')inputProperties.allowCreation = (field.allow_creation === true)inputProperties.searchable = (inputProperties.options.length > 4)+ inputProperties.clearable = !unified.requiredif (field.type === 'multi_select') {inputProperties.minSelection = field.min_selection || nullinputProperties.maxSelection = field.max_selection || null