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

Name Attribute missing in custom Material Field #3912

Closed
tomav123-git opened this issue May 10, 2024 · 3 comments
Closed

Name Attribute missing in custom Material Field #3912

tomav123-git opened this issue May 10, 2024 · 3 comments
Labels

Comments

@tomav123-git
Copy link

tomav123-git commented May 10, 2024

@aitboudad Previously i faced an issue with name attribute missing in fields and as per your suggestion i updated to v6.1.7 it is fixed. Now when i added a custom field, same issue occuring. Name attribute missing in custom elements html

Your Environment

  • Angular version: 14
  • Formly version: 6.1.7

We can refer the previous issue in #3684

@tomav123-git
Copy link
Author

@aitboudad Could you help please? It is related to #3684 (comment)

@aitboudad aitboudad added question and removed bug labels May 26, 2024
@aitboudad
Copy link
Member

For custom field, you need to set name explicitly: [name]="field.name"

@tomav123-git
Copy link
Author

tomav123-git commented May 27, 2024

@aitboudad Thankyou so much, it woks.

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

No branches or pull requests

2 participants