Skip to content

test(angular): validate checkbox and toggle in lazy template-form#31005

Open
OS-jacobbell wants to merge 3 commits intomainfrom
FW-6918
Open

test(angular): validate checkbox and toggle in lazy template-form#31005
OS-jacobbell wants to merge 3 commits intomainfrom
FW-6918

Conversation

@OS-jacobbell
Copy link
Contributor

What is the current behavior?

Checkbox and toggle components are not validated to be ticked/on in packages/angular/test/base/src/app/lazy/template-form. This prevents the error text from being displayed. While they have the required attribute, this only applies to accessibility for checkbox and toggle.

What is the new behavior?

  • Use an Angular validator directive for checkbox and toggle.
  • Make template-form an Angular module so the validator directive can be imported.

Does this introduce a breaking change?

  • Yes
  • No

@OS-jacobbell OS-jacobbell requested a review from a team as a code owner March 9, 2026 14:21
@OS-jacobbell OS-jacobbell requested a review from BenOsodrac March 9, 2026 14:21
@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ionic-framework Ready Ready Preview, Comment Mar 9, 2026 3:06pm

Request Review

@github-actions github-actions bot added the package: angular @ionic/angular package label Mar 9, 2026
@brandyscarney brandyscarney changed the title chore(tests): validate checkbox and toggle in angular lazy template-form test(angular): validate checkbox and toggle in lazy template-form Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant