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

status$ is typed as boolean instead of 'VALID'... #113

Closed
catrias opened this issue Oct 25, 2021 · 1 comment
Closed

status$ is typed as boolean instead of 'VALID'... #113

catrias opened this issue Oct 25, 2021 · 1 comment

Comments

@catrias
Copy link

catrias commented Oct 25, 2021

Is this a regression?

Yes

Description

status$ should have VALID, INVALID, PENDING states

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

No

@catrias
Copy link
Author

catrias commented Oct 25, 2021

From readMe - The status is typed as ControlState (valid, invalid, pending or disabled).

From code -

export function controlStatus$(
  control: AbstractControl,
  type: 'disabled' | 'enabled' | 'status'
): Observable<boolean>

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

No branches or pull requests

1 participant