Share form problem.
My Form class
From my VendorDetail page which is infolist
While try to save form
It works when I comment product_id select field but in my case this field is hidden.
5 Replies
I'd condition the rendering of select at all rather than using hidden personally. since the getFields is a method which passes the ID you'll know on calling it if it should be there at all.
@toeknee Thank you for reply
Could please give some reference how to render conditionally.
You do have a spelling mistake "prodcut" should be "product" not sure if that will help or not.
@Kane G Thank you for your reply,
but still I have an issue.
I think the solution provided by @toeknee is works for me
Thank you, Please suggest me if there any other effect solution