|
@@ -12,17 +12,20 @@
|
|
|
<div ng-class="{'input-group': !!option.suffix}">
|
|
|
<div class="form-group has-feedback" ng-class="[optionStatus.getStatusFeedbackStyle()]">
|
|
|
<pre ng-if="fixedValue && fixedValue.trim()" ng-bind="fixedValue"></pre>
|
|
|
- <input class="form-control" type="text" placeholder="{{placeholder}}" ng-disabled="!!option.readonly"
|
|
|
+ <input class="form-control" type="text" placeholder="{{placeholder}}"
|
|
|
+ data-support-force-delete-empty="{{supportForceDeleteEmpty}}" ng-disabled="!!option.readonly"
|
|
|
ng-if="(option.type === 'string' && !option.showHistory) || option.type === 'integer' || option.type === 'float'"
|
|
|
ng-model="optionValue" ng-change="changeValue(optionValue, true)" ng-keyup="inputKeyUp($event, true)"/>
|
|
|
<input-dropdown input-class-name="form-control" style="width: 100%;" input-placeholder="{{placeholder}}"
|
|
|
+ data-support-force-delete-empty="{{supportForceDeleteEmpty}}"
|
|
|
ng-if="option.type === 'string' && option.showHistory" disabled="!!option.readonly"
|
|
|
ng-model="optionValue" ng-keyup="inputKeyUp($event, from === 'input')"
|
|
|
selected-item="optionValue" allow-custom-input="true"
|
|
|
only-show-non-empty-dropdown="true" default-dropdown-items="history"
|
|
|
filter-list-method="filterHistory(userInput)"
|
|
|
value-changed-method="changeValue(value, from === 'input')"></input-dropdown>
|
|
|
- <textarea class="form-control" rows="6" placeholder="{{placeholder}}" ng-disabled="!!option.readonly"
|
|
|
+ <textarea class="form-control" rows="6" placeholder="{{placeholder}}"
|
|
|
+ data-support-force-delete-empty="{{supportForceDeleteEmpty}}" ng-disabled="!!option.readonly"
|
|
|
ng-if="option.type === 'text'"
|
|
|
ng-model="optionValue"
|
|
|
ng-change="changeValue(optionValue, true)" ng-keyup="inputKeyUp($event, true)"></textarea>
|