Skip to content

Conversation

@dabo-odoo
Copy link
Contributor

Before this commit, a form input without a label would not send its data when clicking send.

Steps to reproduce

  • go to the website editor
  • add a form
  • choose any field
  • delete the field label
  • save and exit the editor
  • now in the website, fill the form and click send => the fields without a name label are not sent

After this commit fields without a label get sent with a placeholder "unknown_field"

task-5062575

@robodoo
Copy link
Contributor

robodoo commented Sep 4, 2025

Pull request status dashboard

@dabo-odoo dabo-odoo force-pushed the 17.0-form-input-without-label-are-sent-dabo branch 2 times, most recently from 08e278c to da926f2 Compare September 12, 2025 10:56
Copy link
Contributor

@SergeBayet SergeBayet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dabo-odoo . Some remarks though. See below. 👍

@dabo-odoo dabo-odoo force-pushed the 17.0-form-input-without-label-are-sent-dabo branch from da926f2 to 3bb0770 Compare October 1, 2025 09:51
@SergeBayet
Copy link
Contributor

@dabo-odoo You can put your task as ready to review and send it to india for review.

@dabo-odoo dabo-odoo marked this pull request as ready for review October 1, 2025 09:56
@C3POdoo C3POdoo requested a review from a team October 1, 2025 10:12
Before this commit, a form input without a label would not send its
data when clicking send.

Steps to reproduce
- go to the website editor
- add a form
- choose any field
- delete the field label
- save and exit the editor
- now in the website, fill the form and click send
=> the fields without a name label are not sent

After this commit fields without a label get sent with a placeholder
"unknown_field"

task-5062575
@robinlej robinlej force-pushed the 17.0-form-input-without-label-are-sent-dabo branch from 3bb0770 to c80173f Compare November 27, 2025 10:43
@robinlej
Copy link
Contributor

@robodoo r+

robodoo pushed a commit that referenced this pull request Nov 27, 2025
Before this commit, a form input without a label would not send its
data when clicking send.

Steps to reproduce
- go to the website editor
- add a form
- choose any field
- delete the field label
- save and exit the editor
- now in the website, fill the form and click send
=> the fields without a name label are not sent

After this commit fields without a label get sent with a placeholder
"unknown_field"

task-5062575

closes #225545

Signed-off-by: Robin Lejeune (role) <role@odoo.com>
@robodoo robodoo closed this Nov 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants