Coder Social home page Coder Social logo

Comments (2)

FirstUI avatar FirstUI commented on May 28, 2024

不要将选中的值再次赋值给默认值,默认值一般仅初始化使用

from firstui.

mingyigg avatar mingyigg commented on May 28, 2024

不要将选中的值再次赋值给默认值,默认值一般仅初始化使用

嗯嗯,不再次赋值给默认值确实可以解决这个问题。但是我这个每次修改默认值也是有使用场景的,比如我有个场景是,让用户设置N个提醒,每个提醒都是一个时间选择器,用户设置完成后,有可能再次点开页面,去修改每个时间选择器的时间,还有可能新增时间选择器,这样的话我要有两个数组,一个数组用来保存默认值,一个用来保存选中值,真的很麻烦。不知道你们能否支持一下我这个场景,修改默认值,再次点开就是默认值设置的那个时间点

from firstui.

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.