openmrs / openmrs-esm-form-builder

OpenMRS Form Builder microfrontend
Other
5 stars 57 forks source link

Enhance the handling of the "formHasResources" condition in the useClobdata hook #239

Open malak-elbanna opened 3 months ago

malak-elbanna commented 3 months ago

Currently, the condition checks several aspects of the "form" object to identify if the URL should be constructed and whether the fetch should occur or not. However, this might lead to unnecessary complexity and potential errors if the "form" object structure changes or if the "name" of the resource isn't 'JSON schema'.

vishisht-dubey commented 3 months ago

hii @malak-elbanna can i work on this?? would you please assign this to me

malak-elbanna commented 3 months ago

hii @malak-elbanna can i work on this?? would you please assign this to me

hi @vishisht-dubey ! I'm a contributor, so I'm afraid I can't help you in this. I think you might need to refer to one of the repo maintainers!