Add new row is not working for child table in Web Form

I am not able to add new row in child table when trying from Web Form.
Getting below error when trying to add the same.

Can anyone please let me know the how to solve this issue?

it shows you exactly what the problem is , fieldname is undefined

@bahaou
Thanks for quick reply.

Steps to reproduce the issue

  1. create a doctype with child table
  2. create a web form for this doctype
  3. Add new row to child table from Web form.

It looks like this when clicking on ‘Add Row’

Capture

I have not done any changes in inbuilt code and added all fields in webform.

I tested it and it works just fine . what is your erpnext version ? mine is 13.17.0

@bahaou
ERPNext: v13.0.1 (version-13)

Frappe Framework: v13.0.2 (version-13)

idk what the problem is bro . consider upgrading to a newer version

I am using Oracle VM VirtualBox to run frappe project.
Can you let me know how can I update it to latest version ?

it’s bench update

bench update worked for me to update frappe version and child table is also w in web form.

But web page UI is not proper as mentioned below.

what is wrong with it ?

Header section (Navigation, searchbar, Help, profile) is not visible after bench update as below.

can you show a screen of the problem ?

Below is the problem screen.

try bench build and migrate

Yes I have already tried with bench build and migrate but facing a same issue.