From 312f1df3689610528167cffe82b5f4196ef49483 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 22 Jan 2020 15:28:54 +0100 Subject: [PATCH] Fix string type in ha-form-string (#4559) --- src/auth/ha-authorize.ts | 1 - src/components/ha-form/ha-form-string.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/auth/ha-authorize.ts b/src/auth/ha-authorize.ts index e026a69bf0..bf8feb2685 100644 --- a/src/auth/ha-authorize.ts +++ b/src/auth/ha-authorize.ts @@ -91,7 +91,6 @@ class HaAuthorize extends litLocalizeLiteMixin(LitElement) { .redirectUri="${this.redirectUri}" .oauth2State="${this.oauth2State}" .authProvider="${this._authProvider}" - .step="{{step}}" > ${inactiveProviders.length > 0 diff --git a/src/components/ha-form/ha-form-string.ts b/src/components/ha-form/ha-form-string.ts index 474323f9bd..d7dab29dd2 100644 --- a/src/components/ha-form/ha-form-string.ts +++ b/src/components/ha-form/ha-form-string.ts @@ -81,7 +81,7 @@ export class HaFormString extends LitElement implements HaFormElement { }); } - private _stringType() { + private get _stringType() { if (this.schema.format) { if (["email", "url"].includes(this.schema.format)) { return this.schema.format;