mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Fix string type in ha-form-string (#4559)
This commit is contained in:
parent
5bfacb3bf0
commit
312f1df368
@ -91,7 +91,6 @@ class HaAuthorize extends litLocalizeLiteMixin(LitElement) {
|
|||||||
.redirectUri="${this.redirectUri}"
|
.redirectUri="${this.redirectUri}"
|
||||||
.oauth2State="${this.oauth2State}"
|
.oauth2State="${this.oauth2State}"
|
||||||
.authProvider="${this._authProvider}"
|
.authProvider="${this._authProvider}"
|
||||||
.step="{{step}}"
|
|
||||||
></ha-auth-flow>
|
></ha-auth-flow>
|
||||||
|
|
||||||
${inactiveProviders.length > 0
|
${inactiveProviders.length > 0
|
||||||
|
@ -81,7 +81,7 @@ export class HaFormString extends LitElement implements HaFormElement {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private _stringType() {
|
private get _stringType() {
|
||||||
if (this.schema.format) {
|
if (this.schema.format) {
|
||||||
if (["email", "url"].includes(this.schema.format)) {
|
if (["email", "url"].includes(this.schema.format)) {
|
||||||
return this.schema.format;
|
return this.schema.format;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user