Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
- ABP Framework version: v3.0.0
 - UI type: Angular
 - Tiered (MVC) or Identity Server Seperated (Angular): no
 - Exception message and stack trace:
 - Steps to reproduce the issue:
 
Hello , We use customized form component for adding new user and I want to use Abp's password validator that has configured according to password settings already. Is there any method or way to to use it for my component as well ? You can see the screenshot of the validator that I mentioned.
Thank you
3 Answer(s)
- 
    0
Hello,
It is available within
@abp/ng.theme.sharedpackage. You find an example of usage hereYou can find the code of the function,
getPasswordValidatorsIt is a simple function that takes
injector.setPasswordForm = this.fb.group({ newPassword: ['', [Validators.required, ...getPasswordValidators(this.injector)]], }); - 
    0
Hi , I get following error and when I check the getPasswordValidators method saw that it expects the Store type object , could you please check it too?
Argument of type 'Injector' is not assignable to parameter of type 'Store'. Type 'Injector' is missing the following properties from type 'Store': stateStream, internalStateOperations, config, internalExecutionStrategy, and 10 more.ts(2345)
Thank you
 
