fix: Improve continue button on org-add-team and validations [CAL-2015] (#10122)

* Improve continue button on team add and validations

* Fix server validations for orgs create team

* Remove unused prop form input

* add comment for context

* Fix duplicatedSlugs not working properly

* Fix continue button disabled state, added more examples for team names

* Fix initial state for inputValues on addTeamForm

* Don't allow whitespaces only inputs on create teams

* Use rhf instead of react useState

---------

Co-authored-by: Leo Giovanetti <[email protected]>
This commit is contained in:
alannncandLeo Giovanetti authored and GitHub committed 2023-07-17 17:17:29 -07:00
1 parent c26efcabe4
commit dad4fd17fb
4 files changed
+191 -80

No files matched your search

@@ -1942,5 +1942,12 @@
"insights_user_filter": "User: {{userName}}",
"insights_subtitle": "View booking insights across your events",
"custom_plan": "Custom Plan",
"org_team_names_example": "e.g. Marketing Team",
"org_team_names_example_1": "e.g. Marketing Team",
"org_team_names_example_2": "e.g. Sales Team",
"org_team_names_example_3": "e.g. Design Team",
"org_team_names_example_4": "e.g. Engineering Team",
"org_team_names_example_5": "e.g. Data Analytics Team",
"org_max_team_warnings": "You will be able to add more teams later on.",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}