I would like to render a schema with these example values as placeholders in my custom inputfieldrenderer.vue renderer:
//yaml
example:
dns:
a_record_targets:
- 127.0.0.1
- 127.0.0.1
srv_record_targets_sip:
- address: sip1-n1.example.com
port: 5060
priority: 1
weight: 50
- address: sip1-n2.example.com
port: 5060
priority: 1
weight: 50
srv_record_targets_sips:
- address: sips.example.com
port: 5061
priority: 1
weight: 100
The way i do it is with a custom generator function that extracts these values from the schema.json and sets the placeholders in the custom renderer, is there a built in option to do this? having to do this for every renderer is quite painful.
