You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regression (a behavior that used to work and stopped working in a new release)
Current behavior
The view switches from viewMode template to editMode template, but then neither of my two buttons fire an event, so user can't go back to view mode or save changes. I tried changing the (save) attribute to (modeChange), but if some event is firing from either button, neither of those picks it up.
Expected behavior
Buttons with those directives should produce events.
Minimal reproduction of the problem with instructions
in component ts file:
import { EditableComponent, EditModeDirective, ViewModeDirective } from '@ngneat/edit-in-place';
It took me some time to understand what it means: we have to import the EditableOnEnterDirective, EditableOnEscapeDirective, etc directives in the class @Component({ imports: [ ... ]}) decorator.
Hi @smonff, I confess I'm used to WebStorm and could not figure out how it was a problem as I have the template highlighted if a directive is not imported. I just tried Visual Studio Code with Angular language service extension and discovered it was not a feature.
I'm submitting a
Regression (a behavior that used to work and stopped working in a new release)
Current behavior
The view switches from viewMode template to editMode template, but then neither of my two buttons fire an event, so user can't go back to view mode or save changes. I tried changing the
(save)
attribute to(modeChange)
, but if some event is firing from either button, neither of those picks it up.Expected behavior
Buttons with those directives should produce events.
Minimal reproduction of the problem with instructions
in component ts file:
...
in template:
from my package.json:
What is the motivation / use case for changing the behavior?
No response
Environment
The text was updated successfully, but these errors were encountered: