Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix hidden input showing on Producer registration #11776

Merged

Conversation

rioug
Copy link
Collaborator

@rioug rioug commented Nov 6, 2023

CSS defined in node_modules/foundation-sites/scss/foundation/components/_forms.scss breaks the use of hidden on a <input> tag with no specified type

What? Why?

Set the input type to hidden so it's actually hidden

What should we test?

See step to reproduce in #11775

Release notes

Changelog Category (reviewers may add a label for the release notes):

  • User facing changes
  • API changes (V0, V1, DFC or Webhook)
  • Technical changes only
  • Feature toggled

The title of the pull request will be included in the release notes.

It looks some CSS we use is breaking the use of "hidden"
@rioug rioug changed the title Fix hidden input Fix hidden input showing on Producer registration Nov 9, 2023
@rioug rioug self-assigned this Nov 9, 2023
@rioug rioug marked this pull request as ready for review November 9, 2023 00:39
Copy link
Member

@dacook dacook left a comment

Choose a reason for hiding this comment

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

💪

@filipefurtad0 filipefurtad0 self-assigned this Nov 16, 2023
@filipefurtad0 filipefurtad0 added the pr-staged-uk staging.openfoodnetwork.org.uk label Nov 16, 2023
@filipefurtad0
Copy link
Contributor

Yikes 😬

True and false appearing indeed!...

image

image

Ok, after this PR, it is fixed:

image

image

Thanks for spotting this one @rioug , and fixing it 💪
Merging.

@filipefurtad0 filipefurtad0 merged commit 8a3fbf9 into openfoodfoundation:master Nov 16, 2023
51 of 52 checks passed
@filipefurtad0 filipefurtad0 removed the pr-staged-uk staging.openfoodnetwork.org.uk label Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Hidden input showing on producer registration step 3
3 participants