Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

report bug for array model in vue3 #299

Closed
binahub opened this issue May 8, 2023 · 2 comments
Closed

report bug for array model in vue3 #299

binahub opened this issue May 8, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@binahub
Copy link

binahub commented May 8, 2023

please check this url, the model is array of objects but the form doesnt render form, but in vue2 same sample renders correctly....

https://form.lljj.me/v3/#/demo?ui=VueElementForm&type=Simple&schema={%22definitions%22:{},%22$schema%22:%22http://json-schema.org/draft-07/schema%23%22,%22$id%22:%22https://example.com/object1683538070.json%22,%22title%22:%22Root%22,%22type%22:%22object%22,%22required%22:[%22list%22],%22properties%22:{%22list%22:{%22$id%22:%22%23root/list%22,%22title%22:%22List%22,%22type%22:%22array%22,%22default%22:[],%22items%22:{%22$id%22:%22%23root/list/items%22,%22title%22:%22Items%22,%22type%22:%22object%22,%22required%22:[%22id%22,%22bannerImage%22,%22link%22,%22name%22,%22type%22],%22properties%22:{%22id%22:{%22$id%22:%22%23root/list/items/id%22,%22title%22:%22Id%22,%22type%22:%22integer%22,%22examples%22:[0],%22default%22:0},%22bannerImage%22:{%22$id%22:%22%23root/list/items/bannerImage%22,%22title%22:%22Bannerimage%22,%22type%22:%22string%22,%22default%22:%22%22,%22examples%22:[%22https://clubpics.s3.ir-thr-at1.arvanstorage.ir/baner-taraland.jpg%22],%22pattern%22:%22^.*$%22},%22link%22:{%22$id%22:%22%23root/list/items/link%22,%22title%22:%22Link%22,%22type%22:%22string%22,%22default%22:%22%22,%22examples%22:[%22https://b2n.ir/t38932%22],%22pattern%22:%22^.*$%22},%22name%22:{%22$id%22:%22%23root/list/items/name%22,%22title%22:%22Name%22,%22type%22:%22string%22,%22default%22:%22%22,%22examples%22:[%22%D8%A8%D9%86%D8%B1%22],%22pattern%22:%22^.*$%22},%22type%22:{%22$id%22:%22%23root/list/items/type%22,%22title%22:%22Type%22,%22type%22:%22string%22,%22default%22:%22%22,%22examples%22:[%22main%22],%22pattern%22:%22^.*$%22}}}}}}&formData=[{%22id%22:0,%22bannerImage%22:%22https://clubpics.s3.ir-thr-at1.arvanstorage.ir/baner-taraland.jpg%22,%22link%22:%22https://b2n.ir/t38932%22,%22name%22:%22%D8%A8%D9%86%D8%B1%22,%22type%22:%22main%22},{%22id%22:1,%22bannerImage%22:%22https://clubpics.s3.ir-thr-at1.arvanstorage.ir/banner-offline.png%22,%22link%22:%22%22,%22name%22:%22%D8%A8%D9%86%D8%B1+%D9%BE%D8%B0%DB%8C%D8%B1%D9%86%D8%AF%DA%AF%D8%A7%D9%86+%D8%AD%D8%B6%D9%88%D8%B1%DB%8C%22,%22type%22:%22offline%22},{%22id%22:2,%22bannerImage%22:%22string%22,%22link%22:%22string%22,%22name%22:%22string%22,%22type%22:%22online%22}]&uiSchema={}&errorSchema={}&formFooter={%22formItemAttrs%22:{%22wrapperCol%22:{%22span%22:24,%22offset%22:0}}}&formProps={%22inline%22:false,%22labelPosition%22:%22top%22,%22inlineFooter%22:false,%22layoutColumn%22:1,%22labelCol%22:{%22span%22:6},%22wrapperCol%22:{%22span%22:16},%22labelWidth%22:%22100px%22}

@lljj-x lljj-x added the bug Something isn't working label May 10, 2023
@lljj-x
Copy link
Owner

lljj-x commented May 10, 2023

感谢反馈 这周会修复

@lljj-x
Copy link
Owner

lljj-x commented May 14, 2023

formdata is an object, not array

preview link

@lljj-x lljj-x closed this as completed in f650884 May 14, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants