touched class not set when touching p-editor #2614
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
No need for PlunkR Case: just go on PrimeNG Demo page about editor (toolbar Editor):
https://www.primefaces.org/primeng/#/editor
Current behavior
Using the editor, you can see
dirty/pristine
state changes onp-editor
element when you type something inside.BUT
touhed/untouched
state doesn't change and remain untouched.Expected behavior
We expect that going, and typing in the
p-editor
trigger atouched/untouched
state changeMinimal reproduction of the problem with instructions
Just load the
<p-editor>
module. Go in the editor and type something: you will seeng-untouched
class and state remains here andng-touched
is never triggered.What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Angular version: 4.0.2 (also tested on 4.0.1)
PrimeNG version: 4.0.0-rc.3
Browser: All I was able to test on (IE, Edge, Firefox last version, Chrome last version)
Language: TS
The text was updated successfully, but these errors were encountered: