Forráskód Böngészése

组合输入框内的number input也需要设置不可以出入负数

raolu 7 éve
szülő
commit
1a77ad4ce3
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      page/followup/questionaires.html

+ 1 - 1
page/followup/questionaires.html

@ -119,7 +119,7 @@
                    </label>
                    {{/each}}
                {{else}}
                <input type="{{op.textType}}" value="{{op.value}}" name="{{op.name}}" step="{{op.step}}" maxlength="{{op.maxLength}}" class="form-control input-sm" style="width: {{op.width}};">
                <input type="{{op.textType}}" value="{{op.value}}" name="{{op.name}}" {{if op.textType == "number"}}step="{{op.step}}" min="0" {{/if}}maxlength="{{op.maxLength}}" class="form-control input-sm" style="width: {{op.width}};">
                {{/if}}
                {{/each}}
                {{if it.unit}}{{it.unit}}{{/if}}