Comments (11)
建议不错,也是常见的需求,后面会支持。
from vux.
谢谢,期待!
from vux.
@airyland 借问下,如何和vue-validator结合使用?文档好像没相关的说明
from vux.
@85636682 因为每个form组件已经不是原生的input,textarea, 很难跟vue-validator很好地结合,因此有自带的 Validator
组件,正在开发中。
from vux.
谢谢,明白!
from vux.
@airyland 再一个功能建议,是关于checkbox,radio,select的,绑定数据时,是不是应该有一个显示值和一个实际值呢?我看了你的源代码,好像两个值都是同一个value,这样不是很符合实际使用
from vux.
@85636682 这个也有其他人提,会支持
from vux.
👍
from vux.
同求 如果这个功能开发完成可以 @一下 提醒一下吗
from vux.
@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.
确实这类需求比较大,感谢@airyland 的VUX
from vux.
Related Issues (20)
- ios 15.4.1 上 x-dialog 组件水平不居中,靠屏幕左边
- 多个tab-item,为什么使用demo里tab代码,点击tab-item无法自动向左滚动
- 监听input修改v-model无效
- 备用文档地址
- 版本2.2.0 ,x-input点击清空icon按钮没效果哎,这个有办法解决吗 ,需要更改源码吗? HOT 2
- after npm run build, node_modules/vux/src/components Cannot read property 'vux.alert.button_text' of undefined HOT 2
- CellFormPreview 组件IOS16下有问题 HOT 6
- demo网页不能访问了https://vux.li/demos/v2/?x-page=v2-doc-home HOT 2
- I have issues building the project in Nuxt
- 模板vue-cli-3-example 本地重新yarn后报错 HOT 1
- 支持一下SSR
- yarn run build 报错 HOT 1
- Vux官网不显示样式预览 HOT 3
- Previewer 预览再删除图片控制台报错 HOT 3
- 在nuxt中使用Scroller 会报错 HOT 1
- 现在npm 包不是最新代码吗?
- Datetime时间组件 order-map时间排列顺序 属性 不能显示上午下午 noon: 6 无效 HOT 1
- 项目支持 Vue 3 吗? HOT 3
- X-number相关
- x-number 的@on-change方法不触发
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vux.