Coder Social home page Coder Social logo

femessage / el-number-range Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 9.0 3.18 MB

🔢Number range input component

Home Page: https://femessage.github.io/el-number-range/

License: MIT License

JavaScript 51.09% Vue 34.33% Shell 14.58%
number-input range-input

el-number-range's People

Contributors

2nthony avatar colmugx avatar dependabot-preview[bot] avatar donaldshen avatar gd4ark avatar levy9527 avatar linrunzheng avatar xrr2016 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

el-number-range's Issues

[feature] 建议加入 blur, focus 等事件

Is your feature request related to a problem? Please describe.

  • 希望在 onBlur 等事件中做一些操作
  • 无法愉悦使用el-form-rendereron 属性

Describe the solution you'd like

  • 使组件支持onBlur
  • 使组件支持onFocus

Describe alternatives you've considered

  • onInput

多个小数点(...)产生undefined

目前输入框只限制了数字和小数点,未处理多个小数点的情况

Describe the solution you'd like
建议在blur时重设NaN的值为某默认值

输入框范围限制失效

Describe the bug
输入框范围限制失效

To Reproduce

  1. props设置min=10
    接下来界面操作
  2. 清空两个input框
  3. 右边框输入1
  4. 此时左边框只能输入小于1的数, 不符合min设置

Expected behavior
步骤3时,maxValue不可小于min值

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.