Convert values to string when selecting in selectbox (#24079)

This commit is contained in:
Cheena Malhotra
2023-08-04 14:05:30 -07:00
committed by GitHub
parent 5d1d07afbf
commit 13c65b7d8d

View File

@@ -878,8 +878,8 @@ export class ConnectionWidget extends lifecycle.Disposable {
this._connectionStringInputBox?.hideMessage(); this._connectionStringInputBox?.hideMessage();
} }
private getModelValue(value: string): string { private getModelValue(value: any): string {
return value !== undefined ? value : ''; return value !== undefined ? value.toString() : '';
} }
public fillInConnectionInputs(connectionInfo: IConnectionProfile) { public fillInConnectionInputs(connectionInfo: IConnectionProfile) {