-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(account_dialog): enhance validation and focus control
- Introduced a regex pattern `CUSTOM_BASE_URL_PATTERN` for validating custom base URLs. - Changed `get_selected_provider` method into a `provider` property for enhanced code readability. - Updated `_validate_form` to return a tuple of error message and associated field. - Added focus control to invalid form fields to enhance user experience by directing attention to the error. - Refactor form validation to include custom base URL validation.
- Loading branch information
Showing
1 changed file
with
37 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters