mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-17 23:10:44 +00:00
Fix string type in ha-form-string (#4559)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user