Skip to content

Commit

Permalink
link to #2711
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jun 24, 2024
1 parent b6ad8d3 commit 7c05507
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions desktop/modal/eqLogic.configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,9 @@
case 'input':
$spAttr .= '<input class="form-control eqLogicAttr" data-l1key="configuration" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '"/>';
break;
case 'checkbox':
$spAttr .= '<input type="checkbox" class="form-control eqLogicAttr" data-l1key="configuration" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '"/>';
break;
case 'number':
$spAttr .= '<input type="number" class="form-control eqLogicAttr" data-l1key="configuration" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '" min="' . (isset($config['min']) ? $config['min'] : '') . '" max="' . (isset($config['max']) ? $config['max'] : '') . '" />';
break;
Expand Down
3 changes: 3 additions & 0 deletions desktop/php/object.php
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@
case 'input':
$spAttr .= '<input class="form-control objectAttr" data-l1key="configuration" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '"/>';
break;
case 'checkbox':
$spAttr .= '<input type="checkbox" class="form-control objectAttr" data-l1key="configuration" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '"/>';
break;
case 'number':
$spAttr .= '<input type="number" class="form-control objectAttr" data-l1key="configuration" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '" min="' . (isset($config['min']) ? $config['min'] : '') . '" max="' . (isset($config['max']) ? $config['max'] : '') . '" />';
break;
Expand Down
3 changes: 3 additions & 0 deletions desktop/php/profils.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@
case 'input':
$div .= '<input class="form-control userAttr" data-l1key="options" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '"/>';
break;
case 'checkbox':
$div .= '<input type="checkbox" class="form-control userAttr" data-l1key="options" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '"/>';
break;
case 'number':
$div .= '<input type="number" class="form-control userAttr" data-l1key="options" data-l2key="plugin::' . $plugin->getId() . '::' . $key . '" min="' . (isset($config['min']) ? $config['min'] : '') . '" max="' . (isset($config['max']) ? $config['max'] : '') . '" />';
break;
Expand Down

0 comments on commit 7c05507

Please sign in to comment.