Skip to content

[16.0][IMP] cooperator_website: Improve placeholders#181

Open
cesarlr wants to merge 1 commit into
OCA:16.0from
cesarlr:16.0-improve-placeholders
Open

[16.0][IMP] cooperator_website: Improve placeholders#181
cesarlr wants to merge 1 commit into
OCA:16.0from
cesarlr:16.0-improve-placeholders

Conversation

@cesarlr

@cesarlr cesarlr commented Jun 25, 2026

Copy link
Copy Markdown

No description provided.

@OCA-git-bot OCA-git-bot added mod:cooperator_website Module cooperator_website series:16.0 labels Jun 25, 2026
@cesarlr

cesarlr commented Jun 25, 2026

Copy link
Copy Markdown
Author

#85

@huguesdk huguesdk changed the title Improve placeholders [16.0][IMP] cooperator_website: Improve placeholders Jun 26, 2026

@huguesdk huguesdk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thanks for this, @cesarlr! this feature is actually in the planning of the coming weeks at coop it easy.

some remarks:

  • for empty placeholders, the attribute should simply be removed.
  • firstname and lastname actually don’t require placeholders.
  • email adresses don’t require placeholders either (the form label is clear enough), and the input type email will anyway make the browser help the user in case of invalid input.

please use the [IMP] tag in your commit message, as explained in the coding guidelines.

t-att-readonly="logged"
t-att-value="phone"
placeholder="+32 456 926 5059"
placeholder=""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this placeholder is still useful to tell people to use the international format. maybe something more generic, like +12 345 67 89 01?

required="true"
t-att-value="company_email"
placeholder="administration@mycoop.be"
placeholder="administration@example.org"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

this can be removed, but the input type should be email.

t-att-readonly="logged"
t-att-value="confirm_email"
placeholder="administration@mycoop.be"
placeholder="administration@example.org"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

same remark as above, especially since the input type here has actually an invalid value: it should be email, not confirm_email.

@cesarlr cesarlr force-pushed the 16.0-improve-placeholders branch from 80b3c93 to e83620d Compare June 26, 2026 14:41
@cesarlr cesarlr force-pushed the 16.0-improve-placeholders branch from e83620d to 9a5f88b Compare June 26, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:cooperator_website Module cooperator_website series:16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants