Giter Club home page Giter Club logo

Comments (11)

airyland avatar airyland commented on May 13, 2024

建议不错,也是常见的需求,后面会支持。

from vux.

85636682 avatar 85636682 commented on May 13, 2024

谢谢,期待!

from vux.

85636682 avatar 85636682 commented on May 13, 2024

@airyland 借问下,如何和vue-validator结合使用?文档好像没相关的说明

from vux.

airyland avatar airyland commented on May 13, 2024

@85636682 因为每个form组件已经不是原生的input,textarea, 很难跟vue-validator很好地结合,因此有自带的 Validator组件,正在开发中。

from vux.

85636682 avatar 85636682 commented on May 13, 2024

谢谢,明白!

from vux.

85636682 avatar 85636682 commented on May 13, 2024

@airyland 再一个功能建议,是关于checkbox,radio,select的,绑定数据时,是不是应该有一个显示值和一个实际值呢?我看了你的源代码,好像两个值都是同一个value,这样不是很符合实际使用

from vux.

airyland avatar airyland commented on May 13, 2024

@85636682 这个也有其他人提,会支持

from vux.

suhaotian avatar suhaotian commented on May 13, 2024

👍

from vux.

qiansimin88 avatar qiansimin88 commented on May 13, 2024

同求 如果这个功能开发完成可以 @一下 提醒一下吗

from vux.

exoticknight avatar exoticknight commented on May 13, 2024

@85636682
我推荐你用vue-form,这样用:
组件里面,加一个隐藏 input,用v-form-ctrl标记,验证全在这个 input 上,vux 的组件只用于显示和交互

<group>
    <input v-form-ctrl v-model="model" :name="name" :required="isRequired" type="hidden">
    <datetime
        :value.sync="model"
        year-row="{value}年"
        month-row="{value}月"
        day-row="{value}日"
        format="YYYY-MM-DD"
        :placeholder="datum.tip"
        title=""
        confirm-text="确认"
        cancel-text="取消"></datetime>
</group>

from vux.

hubinjie avatar hubinjie commented on May 13, 2024

确实这类需求比较大,感谢@airyland 的VUX

from vux.

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.