lljj-x / vue-json-schema-form

基于Vue/Vue3,Json Schema 和 ElementUi/antd/iview3/naiveUi 等生成 HTML Form 表单,用于活动编辑器、h5编辑器、cms等数据配置;支持可视化生成表单Schema 。 Generate a form using Vue/Vue3, Json Schema and ElementUi/antdv/iview3/naiveUi
https://form.lljj.me/
Apache License 2.0
2.06k stars 420 forks source link

布局配置:formProps属性不生效 #340

Closed AlexanderJi closed 9 months ago

AlexanderJi commented 9 months ago

反馈问题请先查看文档和务必提供详细的复现代码,遵循如下格式,描述不清楚的问题将会直接关闭。

vue和ui框架

vue2或者vue3、ui框架element antd、vjsf 使用版本说明

问题描述

对错误是什么的清晰简洁的描述。 按照文档示例,配置:formProps属性不能使表单布局配置生效。后在在线测试中console提示: [Vuetip]: Prop 'formprops' is passed to component <Anonymous>, but the declared prop name is 'formProps'. Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use 'form-props' instead of 'formProps'. 改成:form-props后生效了。建议更新文档示例。

如何复现

可以详细介绍你的复现场景或者相关代码。

必要时提供复现demo,如codepen,github 复现仓库,playground分享链接等

期望的结果

....

lljj-x commented 9 months ago

You should probably use 'form-props' instead of 'formProps'.

lljj-x commented 9 months ago

可以的 感谢反馈

AlexanderJi commented 9 months ago

可以的 感谢反馈 /抱拳