Blame view

build/Input/Input.html 622 Bytes
3a3ecabe   Imshann   init
1
2
3
4
5
6
7
8
9
10
  <span>
      <input ng-if="!addonBefore" type="text" class="ant-input" ng-value="{{value}}" placeholder="{{placeholder}}" />
      <span ng-if="addonBefore||addonAfter" class="ant-input-group-wrapper">
          <span class="ant-input-wrapper ant-input-group">
                  <span ng-if="addonBefore" class="ant-input-group-addon">{{addonBefore}}</span>
                  <input type="text" class="ant-input" ng-value="{{value}}" ng-change="onChange()" ng-model="default" id="{{esFormItem.name}}" />
                  <span ng-if="addonAfter" class="ant-input-group-addon">{{addonAfter}}</span>
          </span>
      </span>
  </span>