I have implemented the vjsf library for my vue.js form, as seen here: . I am currently working on a specific functionality where the field memberStatusChange should only be displayed when a certain value of the callDisposition select field is chosen. However, I am facing issues with this implementation and would appreciate any guidance on achieving this. The form schema is provided below. Thank you.
{
"id": "https://test.com",
"$schema": "http://json-schema.org/draft-06/schema#",
"description2": "MemberPrequalification",
"type": "object",
"required": [
"callDisposition"
],
"properties": {
"callDisposition": {
"type": "string",
"title": "Call Disposition",
"x-summary": true,
"x-display": "custom-component",
"enum": [
"Did not call",
"Engaged - Callback Requested - Snoozed",
"Engaged - Completed",
"Engaged - Not Completed",
"Engaged - No Action Needed",
"Engaged - Member Declined"
]
},
"memberStatusChange": {
"type": "string",
"title": "Member Status Change",
"x-if": "parent.value.callDisposition?.toString() === 'Engaged - Completed'",
"x-display": "custom-component",
"enum": [
"Agreed",
"Declined",
"Ineligible - Medical Criteria",
"Ineligible - Coverage",
"Deceased"
]
}
}
}