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

[Expression "props.disabled"] Object.defineProperty called on non-object #3631

Closed
davidoween opened this issue Mar 16, 2023 · 1 comment · Fixed by #3666
Closed

[Expression "props.disabled"] Object.defineProperty called on non-object #3631

davidoween opened this issue Mar 16, 2023 · 1 comment · Fixed by #3666
Labels

Comments

@davidoween
Copy link

Description

'props.disabled': 'model.user' --> fails when expression no return boolean
'props.disabled': '!!model.user' --> it is works

Minimal Reproduction

https://stackblitz.com/edit/angular-qyt5vt?file=src%2Fapp%2Fapp.component.html,src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.module.ts

Your Environment

  • Angular version: 13
  • Formly version: 6.1.3
@aitboudad
Copy link
Member

This issue has been fixed and released as part of v6.1.4 release.

Please let us know, in case you are still encountering a similar issue/problem.
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants