You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been on a journey with rjsf for about a week now and let me start with a complement to the chefs! I need to render administrator forms that adhere to unseen schemas provided by means of dropped files - so no prior knowledge 😅. This project has been instrumental in getting there - many, many thanks!
I'll drop my schema down below, but in short for my config a user can define a network in an object map with the network name as key. In one of another subsequent objects fields the user should be able to select a network name. So given the filled in config below:
Something like this should be presented:
I've had to write my own templates, widgets and fields in javascript using the Wildfly component library (requirements 🤷), however it all follows the typescript logic and changes were essentially only visual with the exception of one or two provisions needing to be made for the Wildfly components. Though I've written the odd SPA I am a backed developer turned systems engineer, so I've hit a bit of an ability wall... If anyone could provide me with direction/inspiration I'd be indebted 🙏
schema
Monolithic Schema
Still slugging it out as I go along, but current in it's form:
devriaanvanniekerk
changed the title
Urgent help with populating an enum/onOf with the key values of an array/object map
Urgent help with populating an enum/oneOf with the key values of an array/object map
Feb 22, 2024
Have you looked at the playground at the One Of example?
@heath-freenome, I did yeah, but it's another case of having the selection info at hand - I need to have a user on the form create a map of objects in one field and then select between their keys in another field.
I haven't come across an example of that yet if you can think of one?
@devriaanvanniekerk I'm not certain, but I believe that what you are attempting isn't even technically supported by the JSON Schema specification. You may have to write your own custom field to do something like that.
Prerequisites
What theme are you using?
other
What is your question?
Hi All,
I've been on a journey with rjsf for about a week now and let me start with a complement to the chefs! I need to render administrator forms that adhere to unseen schemas provided by means of dropped files - so no prior knowledge 😅. This project has been instrumental in getting there - many, many thanks!
I'll drop my schema down below, but in short for my config a user can define a network in an object map with the network name as key. In one of another subsequent objects fields the user should be able to select a network name. So given the filled in config below:
Something like this should be presented:
I've had to write my own templates, widgets and fields in javascript using the Wildfly component library (requirements 🤷), however it all follows the typescript logic and changes were essentially only visual with the exception of one or two provisions needing to be made for the Wildfly components. Though I've written the odd SPA I am a backed developer turned systems engineer, so I've hit a bit of an ability wall... If anyone could provide me with direction/inspiration I'd be indebted 🙏
schema
Monolithic Schema
Still slugging it out as I go along, but current in it's form:
The text was updated successfully, but these errors were encountered: