<span
  class="input-group-addon"
  style="width:100px;max-width:100px"
  ng-if="activelabel"
  >{{att.alias}}</span
>
<input
  type="number"
  class="form-control"
  ng-model="result[att.name]"
  ng-bind="initvalue"
  ng-disabled="fieldData.disabled"
  ng-readonly="fieldData.readonly"
  placeholder="{{fieldData.placeholder ? fieldData.placeholder : ''}}"
  title="{{fieldData.title}}"
  ng-class="missingMandatoryAttributes.includes(att.name)?'mandatory-attribute-missing':''"
  ng-change="deleteNullDefaultValues()"
  ng-keydown="skipTextChars($event)"
  ng-if="!att.interpretAsBoolean"
/>

<!-- On utilise ça si l'option interpréter les entier comme booléen est coché -->
<toggle-switch
  ng-if="att.interpretAsBoolean"
  ng-model="toggleSwitch.value"
  on-label="{{'common.yes' | translate}}"
  off-label="{{'common.no' | translate}}"
  disabled="{{fieldData.disabled}}"
  ng-change="toggleSwitchChange()"
></toggle-switch>