Code Monkey home page Code Monkey logo

Comments (7)

chouchouji avatar chouchouji commented on June 13, 2024

这里我们是做了特殊处理的
image
input输入的值,如果类型为number,会对数值进行处理,可以放心使用
image

from varlet.

haoziqaq avatar haoziqaq commented on June 13, 2024

输入显示的确存在一些问题,绑定的值和 type = text 是符合预期的,下个 patch 版本我对输入显示进行一次优化。

from varlet.

jinghaiying avatar jinghaiying commented on June 13, 2024

输入显示的确存在一些问题,绑定的值和 type = text 是符合预期的,下个 patch 版本我对输入显示进行一次优化。

是的,可能我表述的不清楚哈,现在的这种方式是做的输入替换,但是聚焦输入时仍然可以键入其他字符,如果原生number的话,是无法输入除0-9. 之外的内容的

from varlet.

jinghaiying avatar jinghaiying commented on June 13, 2024

输入显示的确存在一些问题,绑定的值和 type = text 是符合预期的,下个 patch 版本我对输入显示进行一次优化。

目前我使用的替代方案是 type="Number" 😂

from varlet.

haoziqaq avatar haoziqaq commented on June 13, 2024

下个 patch 版本会优化这个显示问题。

from varlet.

haoziqaq avatar haoziqaq commented on June 13, 2024

感谢反馈~

from varlet.

haoziqaq avatar haoziqaq commented on June 13, 2024

prepatch version at: 2.19.3-alpha.1701190302604

from varlet.

Related Issues (20)

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.