okoala/vue-antd

Invalid self-closing tag

Opened this issue · 0 comments

ERROR in ./~/vue-antd/components/input-number/InputNumber.vue

  8 |        :class="prefixCls + '-handler ' + prefixCls + '-handler-up ' + upDisabledClass">
  9 |         <span unselectable="unselectable"
    |         ^
  10 |             :class="prefixCls + '-handler-up-inner'"

  Invalid self-closing tag: <span unselectable="unselectable"
            :class="prefixCls + '-handler-up-inner'"
            @click="preventDefault"/>. This will be treated as the starting tag only in HTML5. Use <span></span> instead.


ERROR in ./~/vue-antd/components/input-number/InputNumber.vue

  17 |        :class="prefixCls + '-handler ' + prefixCls + '-handler-down ' + downDisabledClass">
  18 |       <span unselectable="unselectable"
    |       ^
  19 |             :class="prefixCls + '-handler-down-inner'"

  Invalid self-closing tag: <span unselectable="unselectable"
            :class="prefixCls + '-handler-down-inner'"
            @click="preventDefault"/>. This will be treated as the starting tag only in HTML5. Use <span></span> instead.