-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
ng-dirty class gets added when i change my custom component value programmatically #25738
Comments
It's the problem of your library, please report the issue there. |
no.... if i use any custom component, this error comes |
@kumaresan-subramani please provide a minimal reproduce scenario without any 3rd-party dependencies - we need to have angular-only stackblitz to be able to confirm an issue in the framework. |
@kumaresan-subramani Any form control is powered by |
@trotyl ,
This is my library code, how can i make my component to pristine state when programmaticaly value changed, please prvide any idea? `import { getValue, setValue, isNullOrUndefined } from '@syncfusion/ej2-base';
I tried like this
|
And more thing can you please tell me, where you are generating angular components like if i render input tag , angular will convert it into . |
Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a...
Bug report
If i change value of my custom component programmatically ng-dirty class gets added but it is not the behavior. here i have added my stackblitz sample [ https://stackblitz.com/edit/angular-5gjp4o?file=src/app/app.component.html ]
Current behavior
-ng-dirty class gets adding
Expected behavior
-ng-dirty will not be added
Minimal reproduction of the problem with instructions
stackblitz sample [ https://stackblitz.com/edit/angular-5gjp4o?file=src/app/app.component.html ]
1.open this sample
2.run and then click button whichis appended to the sample then you will see the dirty class getting added
What is the motivation / use case for changing the behavior?
it doesn't match to behavior
Environment
The text was updated successfully, but these errors were encountered: