RickCole
|
499f68638e
|
Merge pull request #830 from DuLinRain/patch-1
fix: validateOnChange=false时,提交后修改内容,表单不校验
|
2020-08-10 19:21:14 +08:00 |
|
2betop
|
4cd98a008e
|
Merge remote-tracking branch 'baidu/master'
|
2020-08-10 17:54:46 +08:00 |
|
2betop
|
a28048e7b2
|
修复 transfer 把外面高度撑开的问题
|
2020-08-10 17:54:25 +08:00 |
|
rickcole
|
82f987d8fe
|
修复image验证导致表单提交loading问题
|
2020-08-10 17:16:01 +08:00 |
|
RickCole21
|
678983d77a
|
add doc:crud.defaultParams、选择器表单项默认值数据格式一致性问题
|
2020-08-10 16:20:04 +08:00 |
|
liaoxuezhi
|
161dd17ae0
|
Merge pull request #833 from feizhen/editor-json-worker-fix
fix(components): 修复monaco-editor加载json worker报错问题
|
2020-08-10 15:16:30 +08:00 |
|
madisonlin
|
8d9226164b
|
fix(components): 修复monaco-editor加载json worker报错问题
使用monaco-editor编辑json文件,且开启json验证时,有可能因为加载不到json worker,
monaco.languages对象下会没有json属性,会报undefined错误,进而导致整个编辑器无法使用
|
2020-08-10 09:56:00 +08:00 |
|
liaoxuezhi
|
f0b611b01d
|
调整样式
|
2020-08-09 21:50:37 +08:00 |
|
liaoxuezhi
|
bf9c0fe078
|
transfer 添加 maxheight
|
2020-08-09 17:16:41 +08:00 |
|
DuLinRain
|
1dde199f03
|
fix: validateOnChange=false时,提交后修改内容,表单不校验
当配置validateOnChange=false时,如果该xiang填写正确,点击提交。这时候修改该项目的内容,让其不符合校验规则,再次点击提交,表单不会校验该项内容。
我认为this.model.valid保存的是发生变化前该项目的状态,当发生变化时,该项model也应该重置。
复现demo:
gif: https://github.com/DuLinRain/pictures/blob/master/amis-bug1.gif?raw=true
mp4: https://github.com/DuLinRain/pictures/blob/master/amis-bug1.mp4?raw=true
复现代码如下:
{
"$schema": "https://houtai.baidu.com/v2/schemas/page.json#",
"title": "表单验证示例",
"toolbar": "<a target='_blank' href='/docs/renderers/Form/FormItem'>文档</a>",
"body": [
{
"type": "form",
"autoFocus": false,
"messages": {
"validateFailed": "请仔细检查表单规则,部分表单项没通过验证"
},
"title": "表单",
"actions": [
{
"type": "submit",
"label": "提交"
}
],
"api": "/api/mock2/form/saveFormFailed?waitSeconds=2",
"mode": "horizontal",
"controls": [
{
"name": "minLength",
"type": "text",
"label": "长度限制",
"validations": "minLength:10",
"validateOnChange": false
}
]
}
]
}
|
2020-08-08 21:57:21 +08:00 |
|
RickCole21
|
0a4eb65f74
|
fix setValues
|
2020-08-07 18:00:58 +08:00 |
|
2betop
|
638ebfbff6
|
Merge remote-tracking branch 'baidu/master'
|
2020-08-07 16:30:39 +08:00 |
|
2betop
|
e5373c64b9
|
form 刷新数据验证状态不更新的问题
|
2020-08-07 16:30:21 +08:00 |
|
RickCole21
|
6ca61c0cd9
|
fix algolia
|
2020-08-07 16:20:17 +08:00 |
|
2betop
|
ebe813970e
|
优化 tree 样式
|
2020-08-07 14:20:18 +08:00 |
|
吴多益
|
5a62413268
|
Merge pull request #829 from nwind/master
增加如流群
|
2020-08-07 11:58:54 +08:00 |
|
wuduoyi
|
783eef7d13
|
增加如流群
|
2020-08-07 11:58:07 +08:00 |
|
RickCole21
|
3398c2a13a
|
rebuild pages
|
2020-08-06 19:50:03 +08:00 |
|
RickCole21
|
23a9402935
|
更新 gh-pages
|
2020-08-06 19:48:53 +08:00 |
|
RickCole21
|
8c3fcdb887
|
add favicon
|
2020-08-06 19:45:56 +08:00 |
|
RickCole21
|
0d38c8df2d
|
rebuild pages
|
2020-08-06 19:41:25 +08:00 |
|
RickCole21
|
57a2a023de
|
更新 gh-pages
|
2020-08-06 19:40:19 +08:00 |
|
liaoxuezhi
|
29e5a1a2d1
|
Merge pull request #827 from RickCole21/master
添加讨论方式
|
2020-08-06 19:36:51 +08:00 |
|
rickcole
|
5655a9d4c7
|
fix favicon
|
2020-08-06 19:35:46 +08:00 |
|
rickcole
|
f8b4029ee5
|
update readme
|
2020-08-06 19:20:47 +08:00 |
|
rickcole
|
b9df921e72
|
加qq群号
|
2020-08-06 19:19:08 +08:00 |
|
RickCole21
|
863b175c67
|
add doc
|
2020-08-06 16:08:59 +08:00 |
|
RickCole21
|
34f1c558c7
|
rebuild pages
|
2020-08-06 15:23:04 +08:00 |
|
RickCole21
|
536adc5cfb
|
更新 gh-pages
|
2020-08-06 15:21:47 +08:00 |
|
RickCole21
|
1e34b22bc9
|
doc fix
|
2020-08-06 15:18:45 +08:00 |
|
RickCole21
|
9512129d66
|
更新文档搜索
|
2020-08-06 14:57:13 +08:00 |
|
RickCole21
|
666bc65084
|
rebuild pages
|
2020-08-06 14:53:41 +08:00 |
|
RickCole21
|
76451546f2
|
更新 gh-pages
|
2020-08-06 14:52:26 +08:00 |
|
吴多益
|
033ad1493f
|
Merge pull request #826 from nwind/master
文档使用 gitee 的地址保证国内访问速度,因为目前也只有中文文档
|
2020-08-06 12:25:14 +08:00 |
|
wuduoyi
|
bb72a20b84
|
文档使用 gitee 的地址保证国内访问速度,因为目前也只有中文文档
|
2020-08-06 12:24:31 +08:00 |
|
liaoxuezhi
|
bf206e3b72
|
换种写法
|
2020-08-05 22:46:57 +08:00 |
|
liaoxuezhi
|
6e317b3809
|
修复弹框中 treeSelector 样式问题
|
2020-08-05 22:18:54 +08:00 |
|
liaoxuezhi
|
e8e2d2d306
|
Merge pull request #819 from RickCole21/master
nested-select 和 tree-select 补充 labelField 和 valueField
|
2020-08-05 19:34:58 +08:00 |
|
RickCole21
|
52574e0aba
|
fix doc
|
2020-08-05 15:24:45 +08:00 |
|
RickCole21
|
ee9e788273
|
fix typo
|
2020-08-05 15:11:26 +08:00 |
|
RickCole21
|
29a1ba975e
|
rebuild pages
|
2020-08-05 15:03:32 +08:00 |
|
RickCole21
|
c4a3e2b286
|
更新 gh-pages
|
2020-08-05 15:02:17 +08:00 |
|
RickCole21
|
72f52f96c0
|
修复实例页面部分接口没实现
|
2020-08-05 14:59:27 +08:00 |
|
RickCole21
|
bb6e89b4f2
|
rebuild pages
|
2020-08-05 13:26:26 +08:00 |
|
RickCole21
|
4e44049e94
|
更新 gh-pages
|
2020-08-05 13:24:55 +08:00 |
|
RickCole21
|
d2019ce8aa
|
样式和logo
|
2020-08-05 13:22:14 +08:00 |
|
rickcole
|
c03305abdd
|
fix style
|
2020-08-05 11:25:06 +08:00 |
|
rickcole
|
9a15e43b9a
|
Merge remote-tracking branch 'upstream/master'
|
2020-08-05 11:24:47 +08:00 |
|
RickCole21
|
019e3bad61
|
add doc
|
2020-08-05 11:24:25 +08:00 |
|
rickcole
|
c111c1cf64
|
https://github.com/baidu/amis/issues/817
|
2020-08-04 20:40:16 +08:00 |
|