Skip to content

πŸ”₯ πŸ”₯ πŸ”₯ A Free & Self-hostable Airtable Alternative

fix(nc-gui): show search for http method selection

Ramesh Mane1c47c8376177
diff --git a/packages/nc-gui/components/webhook/WebhookV2.vue b/packages/nc-gui/components/webhook/WebhookV2.vue
index eeba9916b3..ce3ba5b139 100644
--- a/packages/nc-gui/components/webhook/WebhookV2.vue
+++ b/packages/nc-gui/components/webhook/WebhookV2.vue
@@ -1112,6 +1112,10 @@ const toggleIncludeUser = async () => {
:deep(.ant-select) {
.ant-select-selector {
@apply !h-9;
+
+ .ant-select-selection-placeholder {
+ @apply leading-[36px];
+ }
}
.ant-select-selection-item {
diff --git a/packages/nc-gui/components/webhook/index.vue b/packages/nc-gui/components/webhook/index.vue
index b0d86d3159..aec3499649 100644
--- a/packages/nc-gui/components/webhook/index.vue
+++ b/packages/nc-gui/components/webhook/index.vue
@@ -1263,6 +1263,8 @@ const webhookV2AndV3Diff = computed(() => {
size="medium"
class="nc-select-hook-url-method"
dropdown-class-name="nc-dropdown-hook-notification-url-method"
+ show-search
+ :filter-option="(input, option) => antSelectFilterOption(input, option, ['value'])"
>
<template #suffixIcon>
<GeneralIcon icon="arrowDown" class="text-gray-700" />
@@ -1637,6 +1639,10 @@ const webhookV2AndV3Diff = computed(() => {
:deep(.ant-select) {
.ant-select-selector {
@apply !h-9;
+
+ .ant-select-selection-placeholder {
+ @apply leading-[36px];
+ }
}
.ant-select-selection-item {
@@ -1780,8 +1786,4 @@ const webhookV2AndV3Diff = computed(() => {
:deep(.nc-filter-field-select .ant-select-selector .field-selection-tooltip-wrapper) {
@apply !max-w-none;
}
-
-:deep(.ant-select-selector .ant-select-selection-placeholder) {
- @apply leading-[34px];
-}
</style>