I am facing some issues in Magento2 EE default RMA extension.
In create new return under "Return item information".
1) Form is not getting validated: reason to order, item condition, resolution are required yet form gets submitted and request is created.
2) On "Add item to return": I do not found any option to delete that added item.
3) On successful submitting RMA form getting error : "We can't create a return right now. Please try again later.".
Has anyone else have faced same issue.
Any help.
[edit]:
Figured out the 3 rd point, this error is occurring as sendNewRmaEmail() function is called on creating rma. So as emails were not been send so it was throwing error. But yet first two problems still persists.
Best Answer
You can try this way if it works for you. Its just a fixed.
1) Override module-rma/view/frontend/templates/form/renderer/select.phtml in your theme or module. add data-validate="{required:true}" for required attributes.
select.phtml.
2) For second issue please add below html before fieldset ends in create.phtml.
3) For third issue I think if point 1 resolved from this fix then you won't face this issue anymore.
I hope it will work for you, Let me know if you face any further issue from these fixes.