* add support for newest generation of inverters with A-F in their serial number
This commit is contained in:
lumapu 2024-03-22 22:38:08 +01:00
parent a0e32bb06c
commit 99cfdb5324
2 changed files with 2 additions and 2 deletions

View file

@ -783,7 +783,7 @@
cbEn.checked = (obj.enabled);
cbDisNightCom.checked = (obj.disnightcom);
var ser = ml("input", {name: "ser", class: "text", type: "number", max: 138999999999, value: obj.serial}, null);
var ser = ml("input", {name: "ser", class: "text", type: "text", pattern: "[0-9a-fA-F]{12}", value: obj.serial}, null);
var html = ml("div", {}, [
tabs(["{#TAB_GENERAL}", "{#TAB_INPUTS}", "{#TAB_RADIO}", "{#TAB_ADVANCED}"]),
ml("div", {id: "div{#TAB_GENERAL}", class: "tab-content"}, [