Skip to content
Snippets Groups Projects
Commit bb49ff61 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

fix show/hide for label

parent 04264b9a
No related branches found
No related tags found
No related merge requests found
......@@ -4,8 +4,9 @@
<label>{{ opt.label }}</label>
</li>
</ul>
<label ng-if="$ctrl.getDefn().data_type === 'Boolean'">
<div class="form-inline" ng-if="$ctrl.getDefn().data_type === 'Boolean'">
<input type="checkbox" ng-checked="defaultValueContains('1')" ng-click="toggleDefaultValueItem('1') ">
{{:: $ctrl.getDefn().label }}
<label class="af-gui-node-title" ng-if="$ctrl.node.defn.label != false">{{:: $ctrl.getDefn().label }}
<span class="crm-marker" title="{{:: ts('Required') }}" ng-if="getProp('required')">*</span>
</label>
</label>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment