mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 01:25:36 -05:00
Fix project name validation (#22547)
* Fix project name validation * Add/update tests * Address comments * Fix error
This commit is contained in:
@@ -303,7 +303,7 @@ export class CreateProjectFromDatabaseDialog {
|
||||
|
||||
this.projectNameTextBox.onTextChanged(text => {
|
||||
const errorMessage = isValidBasenameErrorMessage(text);
|
||||
if (errorMessage) {
|
||||
if (errorMessage !== undefined) {
|
||||
// Set validation error message if project name is invalid
|
||||
void this.projectNameTextBox!.updateProperty('validationErrorMessage', errorMessage);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user