Remove min/max >=1 requirement from gauge-card-editor (#14682)

fixes undefined
This commit is contained in:
karwosts 2022-12-14 02:25:24 -08:00 committed by GitHub
parent 1bce5efc9e
commit 363092ff03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,8 +78,8 @@ export class HuiGaugeCardEditor
name: "",
type: "grid",
schema: [
{ name: "min", selector: { number: { min: 1, mode: "box" } } },
{ name: "max", selector: { number: { min: 1, mode: "box" } } },
{ name: "min", selector: { number: { mode: "box" } } },
{ name: "max", selector: { number: { mode: "box" } } },
],
},
{