Open lynn1286 opened 2 months ago
@lynn1286 I don't know how much I can help with your first question, as I'm not familiar with how antd lets you style their components, and how much our formContext integration supports. If you need more fine-grained control of styles and layout, you could provide custom templates. I would recommend looking at the templates in @rjsf/antd
and @rjsf/core
as starting points and iterating from there until you have what you want.
For your second question, have you tried using the CheckboxesWidget
? We have a playground example (see the checkboxes
property). Though you may need to create a custom widget to support your 'custom value' functionality, but you could start with the CheckboxesWidget
implementation as a foundation.
Prerequisites
What theme are you using?
antd
What is your question?
I'm using the @rjsf/antd library and I have the following problems that I can't solve:
Does the form support landscape layout? I tried configuring formContext and the effect was not very satisfactory
What should I do to change the drop-down selection interactive mode in array append mode to multi-select box interactive mode?
The above data rendering interface is as follows ðŸ˜:
Actually I want this 🤣: