Skip to content

The rest of the built-in validators #61758

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

Merged
merged 3 commits into from
Jun 4, 2025

Conversation

kirjs
Copy link
Contributor

@kirjs kirjs commented May 29, 2025

No description provided.

* @param path Path to the target field
* @param config Optional, currently allows providing custom errors function.
*/
export function requiredTrue(path: FieldPath<boolean>, config?: BaseValidatorConfig<boolean>) {
Copy link
Contributor

Choose a reason for hiding this comment

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

do we need this? this just feels like it should be required with a FieldPath<boolean>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Keeping for now

@ngbot ngbot bot added this to the Backlog milestone May 30, 2025
@kirjs kirjs merged commit d2bca12 into angular:prototype/signal-forms Jun 4, 2025
14 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants