Comments (5)
原本的设计也是这样,保持一份纯的JsonSchema,也方便同步给服务端做数据校验等。
可能有些场景或者习惯写在一起,这里会做一个升级,可以支持两边同时配置,只不过单独配置的优先级更高。
@Wisgon 另外ui和error实际使用完全相同的路径读取,合并在一起确实可行
from vue-json-schema-form.
可以,很好的建议,下个版本加上去
from vue-json-schema-form.
我倒是觉得就这样分开来好,逻辑比较清晰,schema是纯的json schema,ui是ui,不过ui和error并到一起倒还可以 ,要是全弄到一块去的话,看起来就很混乱,不方便阅读
from vue-json-schema-form.
v0.0.16 这个版本可以支持在schema中配置 ui
、error
文档参见这里:ui、error 配置在schema中
from vue-json-schema-form.
@lljj-x 高效
from vue-json-schema-form.
Related Issues (20)
- vue3-form-core 在vite项目中引用报错 HOT 8
- 当下拉组件设置为允许添加时,对于添加的选项不应校验失败:`应当是预设定的枚举值之一` HOT 3
- report bug for array model in vue3 HOT 2
- anyof联动时选项的值不会变化,无论怎么选提交的都是默认值 HOT 2
- Object personalization HOT 1
- 大佬,请问如何适配其他UI组件库,比如uni-ui等移动端 HOT 3
- vue3-form-element使用vue3组合式写法没有实现双向数据绑定 HOT 1
- import 错误
- vue3 antDv中textarea不生效,显示的是input输入框 HOT 1
- 表单设计器啥时候支持vue3? HOT 1
- help to show custom element HOT 2
- Customize data inside n-select HOT 4
- 功能建议:支持表单项搜索(过滤)的功能
- 项目下载后无法运行
- 按需引入antdv,组件为什么不能展示 HOT 1
- 适配vue2+tdesign时input输入框无效
- Get index of array HOT 2
- 使用oneOf 点击保存时总是提示错误 HOT 1
- 在vue2-form-core中formItem的校验规则validator只能使用callback的方式 HOT 3
- array类型的参数,items使用anyOf回显问题 HOT 4
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 vue-json-schema-form.