Skip to content

input-number lost css class #12

@renshuo

Description

@renshuo

Version

vue-antd-ui: 0.4.2

Environment

webBroswer: Chromium 66, firefox 59
node.js: v8.9.4
npm: 5.6.0
vue: 2.5.2

Steps to reproduce

<a-input-number :min="1" :max="10" v-model="form.step" @change="onChange" />

What is expected?

a number input box

What is actually happening?

here is the html:

<div data-v-0581c1e5="" class="ant-input-number">
  <div class="ant-input-number-handler-wrap">
    <span unselectable="unselectable" role="button" aria-label="Increase Value" class="ant-input-number-handler ant-input-number-handler-up ">
      <span unselectable="unselectable" class="ant-input-number-handler-up-inner"></span>
    </span>
    <span unselectable="unselectable" role="button" aria-label="Decrease Value" aria-disabled="true" class="ant-input-number-handler ant-input-number-handler-down ant-input-number-handler-down-disabled">
      <span unselectable="unselectable" class="ant-input-number-handler-down-inner"></span>
    </span>
  </div>
  <div role="spinbutton" aria-valuemin="1" aria-valuemax="10" aria-valuenow="1" class="ant-input-number-input-wrap">
    <input autocomplete="off" max="10" min="1" step="1" class="ant-input-number-input">
  </div>
</div>

html都有,但是a-input-number似乎缺少class了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions