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
{{ message }}
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
I have a requirement that the value of the field depends on the value of another field.
eg.
schema = {
title : "My pretty form",
description: "Declarative pure data DSLs are the best.",
type : "object",
properties : {
comments: {
title : "Your comment",
description: "Type something here.",
type : "string",
minLength : 1
},
anotherField: {
title : "autocomplete",
references: ['comment'] // new property
description: "auto",
'x-hints': {
'form': {
'inputComponent': 'async-autocomplete'
}
}
}
}
};
Now i added references something new to the above schema. My requirement is that this custom component can have a listener that can listen to any changes to the fields mentioned in references, in above case any change made to comments field should trigger a listener in anotherField. Can someone help me with this?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a requirement that the value of the field depends on the value of another field.
eg.
Now i added
references
something new to the above schema. My requirement is that this custom component can have a listener that can listen to any changes to the fields mentioned inreferences
, in above case any change made tocomments
field should trigger a listener inanotherField
. Can someone help me with this?The text was updated successfully, but these errors were encountered: