diff --git a/packages/nc-gui/components/smartsheet/Form.vue b/packages/nc-gui/components/smartsheet/Form.vue index 2b9dcf0a60..72fbcf870c 100644 --- a/packages/nc-gui/components/smartsheet/Form.vue +++ b/packages/nc-gui/components/smartsheet/Form.vue @@ -726,7 +726,7 @@ useEventListener(  * -
+
{{ element.description }}
@@ -752,8 +752,9 @@ useEventListener(
@@ -1320,7 +1319,7 @@ useEventListener( .nc-form-field-ghost { @apply bg-gray-50; } -:deep(.nc-form-input-required):focus { +:deep(.nc-form-input-required + button):focus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #3366ff; } diff --git a/tests/playwright/pages/Dashboard/Form/index.ts b/tests/playwright/pages/Dashboard/Form/index.ts index 783d3c1799..262b2f22a8 100644 --- a/tests/playwright/pages/Dashboard/Form/index.ts +++ b/tests/playwright/pages/Dashboard/Form/index.ts @@ -75,11 +75,11 @@ export class FormPage extends BasePage { } getFormFieldsInputLabel() { - return this.get().locator('input[data-testid="nc-form-input-label"]:visible'); + return this.get().locator('textarea[data-testid="nc-form-input-label"]:visible'); } getFormFieldsInputHelpText() { - return this.get().locator('input[data-testid="nc-form-input-help-text"]:visible'); + return this.get().locator('textarea[data-testid="nc-form-input-help-text"]:visible'); } async verifyFormFieldLabel({ index, label }: { index: number; label: string }) {