fix(web_form): row number column in child tables were showing the wrong title

* fix:Web Form Child Table: Incorrect title showing for 'row number' column #32331

* fix : code alignment with develop branch

* fix : code alignment with develop branch

---------

Co-authored-by: saadchaudhaary <saad@zirrusone.com>
This commit is contained in:
Saad Chaudhary 2025-06-04 13:53:48 +05:30 committed by GitHub
parent 3d578300cb
commit 57bb1abdeb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -70,7 +70,6 @@ class WebForm(WebsiteGenerator):
web_form_fields: DF.Table[WebFormField]
website_sidebar: DF.Link | None
# end: auto-generated types
website = frappe._dict(no_cache=1)
def validate(self):
@ -334,7 +333,7 @@ def get_context(context):
messages.append("Upload")
messages.append("Last")
messages.append("First")
messages.append("No.:Title of the 'row number' column")
messages.append("No.")
# Phone Picker
if any(field.fieldtype == "Phone" for field in self.web_form_fields):