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

[LTD-5743] Add line separator to multiple licence condition concatenation #2282

Merged

Conversation

currycoder
Copy link
Contributor

@currycoder currycoder commented Dec 20, 2024

Aim

Ensure that the new multiple licence conditions flow concatenates licence conditions with a line separator.

LTD-5743

@currycoder currycoder marked this pull request as draft December 20, 2024 12:10
@currycoder currycoder force-pushed the LTD-5743-dash-separator-between-OGD-licence-conditions branch from 4e237d1 to 697c856 Compare December 20, 2024 16:34
@currycoder currycoder marked this pull request as ready for review December 20, 2024 16:35
@currycoder currycoder force-pushed the LTD-5743-dash-separator-between-OGD-licence-conditions branch from 697c856 to 90d503d Compare December 20, 2024 16:36
Comment on lines +267 to +271
{
"proviso_checkboxes": ["condition_1", "condition_3"],
"condition_1": "condition 1 abc",
"condition_3": "condition 3 xyz",
},
Copy link
Contributor

Choose a reason for hiding this comment

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

What would happen if we set the text in one of these but didn't tick it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As per the form's clean function above; https://github.com/uktrade/lite-frontend/pull/2282/files#diff-49de4a4e2e62ead9382c22236f42efa7e629485e1244644839c1973932159df9R116

This would only add proviso text snippets from text area's which have corresponding checkbox ticks

@currycoder currycoder force-pushed the LTD-5743-dash-separator-between-OGD-licence-conditions branch from 90d503d to 3f7e253 Compare January 6, 2025 10:09
@currycoder currycoder merged commit 52fa217 into dev Jan 6, 2025
12 checks passed
@currycoder currycoder deleted the LTD-5743-dash-separator-between-OGD-licence-conditions branch January 6, 2025 10:29
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.

3 participants