duan602728596 / antd-schema-form

Based on Ant Design, interactive forms can be generated through JSON Schema configuration. - 基于Ant Design,可以通过JSON Schema配置生成可交互的表单。
https://duan602728596.github.io/antd-schema-form/#/
MIT License
170 stars 28 forks source link

Hopefully will support dependencies! #3

Closed AENeuro closed 5 years ago

AENeuro commented 5 years ago

Really appreciate it for writing this up! Hopefully it will support dependencies in the future (like react-jsonschema-form does!)

duan602728596 commented 5 years ago

Thank you for your support. And what does support dependencies mean? Because I am not very familiar with the react-jsonschema-form.

AENeuro commented 5 years ago

So we might have Field A and Field B. We might require that the requirement of Field B depend on the value of Field A (eg. If Field A is specified, Field B is required). Or we might need Field C to pop up (dynamically) on the occasion that Field A is a specific value.

I thought this is sort of crucial in modern form designing so hopefully can offer you some new ideas.(Can refer to the doc for dependencies of react-jsonschema-form for more info)

duan602728596 commented 5 years ago

I understand, this is the function of form linkage, I will think about how to achieve this function, thank you for your suggestion.

AENeuro commented 5 years ago

加油hhh

duan602728596 commented 5 years ago

😄hhh