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

[LorisForm] add required to checkboxes #8860

Merged
merged 2 commits into from
Aug 10, 2023

Conversation

ridz1208
Copy link
Collaborator

@ridz1208 ridz1208 commented Aug 9, 2023

This PR was made to remove overrides on COPN and CBIGR

Checkbox elements can not be defined as required like the rest of the elements. This add support for required

@ridz1208 ridz1208 added the Priority: Projects PR or issue is a priority for at least one project and should be a higher priority for LORIS label Aug 10, 2023
@@ -1336,7 +1336,7 @@ function testCheckboxHTMLWithNoAttributes()
$this->form->addCheckbox("abc", "Hello", []);
$this->assertEquals(
"<span style=\"white-space: nowrap\"><input name=\"abc\" " .
"type=\"checkbox\" /> </span>Hello",
"type=\"checkbox\" /> </span>Hello",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

changes required to pass CI

Copy link
Contributor

@kongtiaowang kongtiaowang left a comment

Choose a reason for hiding this comment

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

LGTM

@kongtiaowang kongtiaowang self-assigned this Aug 10, 2023
@driusan driusan merged commit d69d61e into aces:24.1-release Aug 10, 2023
9 checks passed
@ridz1208 ridz1208 added this to the 24.1.5 milestone Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Projects PR or issue is a priority for at least one project and should be a higher priority for LORIS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants