Skip to content

Commit

Permalink
Group IP settings, add default label value to prevent error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTerBeke committed Nov 4, 2024
1 parent cdf2a69 commit 259abe6
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 38 deletions.
47 changes: 28 additions & 19 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,27 +80,36 @@
],
"settings": [
{
"id": "discovered_address",
"label": {
"en": "IP Address",
"nl": "IP-adres"
},
"type": "label",
"required": false,
"highlight": true
},
{
"id": "address",
"type": "group",
"label": {
"en": "Override IP Address",
"nl": "IP-adres overschrijven"
"en": "IP address",
"nl": "IP addres"
},
"type": "text",
"required": false,
"hint": {
"en": "Overrides the auto-discovered IP address of the device.",
"nl": "Overschrijft het automatisch ontdekte IP-adres van het apparaat."
}
"children": [
{
"id": "discovered_address",
"label": {
"en": "Auto-discovered address",
"nl": "Automatisch ontdekte adres"
},
"type": "label",
"required": false,
"value": ""
},
{
"id": "address",
"label": {
"en": "Override IP Address",
"nl": "IP-adres overschrijven"
},
"type": "text",
"required": false,
"hint": {
"en": "Overrides the auto-discovered IP address of the device.",
"nl": "Overschrijft het automatisch ontdekte IP-adres van het apparaat."
}
}
]
},
{
"type": "group",
Expand Down
47 changes: 28 additions & 19 deletions drivers/uponor/driver.compose.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,27 +43,36 @@
],
"settings": [
{
"id": "discovered_address",
"label": {
"en": "IP Address",
"nl": "IP-adres"
},
"type": "label",
"required": false,
"highlight": true
},
{
"id": "address",
"type": "group",
"label": {
"en": "Override IP Address",
"nl": "IP-adres overschrijven"
"en": "IP address",
"nl": "IP addres"
},
"type": "text",
"required": false,
"hint": {
"en": "Overrides the auto-discovered IP address of the device.",
"nl": "Overschrijft het automatisch ontdekte IP-adres van het apparaat."
}
"children": [
{
"id": "discovered_address",
"label": {
"en": "Auto-discovered address",
"nl": "Automatisch ontdekte adres"
},
"type": "label",
"required": false,
"value": ""
},
{
"id": "address",
"label": {
"en": "Override IP Address",
"nl": "IP-adres overschrijven"
},
"type": "text",
"required": false,
"hint": {
"en": "Overrides the auto-discovered IP address of the device.",
"nl": "Overschrijft het automatisch ontdekte IP-adres van het apparaat."
}
}
]
},
{
"type": "group",
Expand Down

0 comments on commit 259abe6

Please sign in to comment.