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

Update calls to textarea with the id option #3295

Closed
wants to merge 3 commits into from
Closed

Conversation

andysellick
Copy link
Contributor

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Update all uses of the textarea component to change the id option to textarea_id.

Tests in this PR are likely to fail until the changes to the textarea component are included in this PR with a new gem release.

Why

Changes in alphagov/govuk_publishing_components#4574 mean that this option needs to be updated.

Visual changes

Shouldn't be any.

Trello card: https://trello.com/c/GQ1p2oSC/438-not-doing-add-component-wrapper-helper-to-form-textarea-component

- test is failing even though similar tests for images and attachments are passing
- checking live and integration it isn't possible to add a contact as an error appears in the modal when trying to do so. Have been advised to disable the test and ignore this problem as it may be part of a wider issue
@andysellick andysellick marked this pull request as ready for review January 22, 2025 16:24
@andysellick andysellick requested a review from AshGDS January 22, 2025 16:24
Copy link

@AshGDS AshGDS left a comment

Choose a reason for hiding this comment

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

Looks OK to me, just have a question before approving.

@@ -8,7 +8,7 @@
and_i_select_a_contact_from_the_autcomplete
then_i_see_the_contact_preview
when_i_click_insert_contact
then_i_see_the_snippet_is_inserted
# then_i_see_the_snippet_is_inserted
Copy link

Choose a reason for hiding this comment

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

Commented out test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You missed the slack thread - this seems to be a known problem and this was one suggested solution. I also learned that this is a deprecated repo, so yeah, think I might close it.

@AshGDS
Copy link

AshGDS commented Jan 22, 2025

Actually, this is a deprecated repo - I'd suggest closing the PR as we don't need to upgrade anything here.

@andysellick andysellick deleted the textarea-id branch January 22, 2025 16:46
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.

2 participants