I believe that this error log is related to the child table related issues but couldn’t understand what’s causing it:
“Uncaught TypeError: Cannot read property ‘can_read’ of undefined”
Any inputs or workaround to get around these issues? Your time is highly appreciated!
Related Question:
Is there a way to use the Desk UI itself for the webform? (as the desk UI doesn’t have any of the above-mentioned issues and works perfectly)
Other Details:
Frappe Framework: v13.x.x-develop () (develop)
I’ve got issues 1 & 3 resolved.
They were happening when I have a field(Name) with Link type in the child table docType(Indicator), that’s when the issue happens, so I removed the Link type for the field(Name) in Indicator docType. Question: Is this way of having a Link type field inside a child table docType not supported? or is it still a bug?
Issue 2 still exists, could anyone please point me to where I should look to have this UI layout issue fixed?
I’ve mentioned the solution as well, bro. But, let me rephrase it if that was confusing.
Basically, the child table does not handle the ‘Link’ type properly, hence, avoid having such a field in the child table and try to use other data types but If that breaks your requirement then you shouldn’t be using the child table in the first place.
@Glob@saru2020@rmehta Thanks for the response, it means a lot, I have updated the version to 13.16.1 the issue is resolved but facing another issue, let me explain with an example so I can make it clear.
Created a doctype with the child table, created a web form.
in the review after published, I have submitted a form with data “x”
so the child table is not getting refreshed I guess when the new webform is created.
I tried on document level like creating a new document via doctype it’s working charm
it will be helpful if i can get any solution on this issue.