fix(form-builder): show default label when field label is only whitespace (#27793)

* fix(form-builder): show default label when field label is only whitespace

* fix: add validation to ensure label is not empty or whitespace

* fix: enhance label validation to prevent empty or whitespace labels in FormBuilder

* fix: refactor label validation in FormBuilder to streamline whitespace checks

* chore: retrigger CI (flaky vitest worker shutdown)

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Sahitya ChandraandDevin AI authored and GitHub committed 2026-03-22 21:34:23 +05:30
1 parent dc43eba23b
commit b46c04da87
2 files changed
+25 -2

No files matched your search

+1
View File
@@ -1231,6 +1231,7 @@
"additional_inputs": "Additional inputs",
"additional_input_description": "Require scheduler to input additional inputs prior the booking is confirmed",
"label": "Label",
"label_cannot_be_whitespace": "Label cannot be only whitespace",
"placeholder": "Placeholder",
"display_add_to_calendar_organizer": "Use \"Add to calendar\" email as the organizer",
"display_email_as_organizer": "We'll display this email address as the organizer, and send confirmation emails here.",