Replies: 1 comment
-
Do not forget JSON schema only describes the structure of immutable data which are JSON strings. Therefore any dynamic behaviour is not suitable for it. Your logic can only be expressed as a schema when the schemas for array objects are constant values and thus the default value can be expressed as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created an array of object, this allow end-user to add several value.
And I need to have another field called 'default value'. This field would allow me to know whom value from previous array is the default one.
Meaning this would be a list 'supplied' by previous input (dynamic because I a priori don't know which value end-user will input) .
Didn't found any post related, it seems it wouldn't be natively do-able ?
See example below, I'm trying to point to content of array but it doesn't work.
Beta Was this translation helpful? Give feedback.
All reactions