We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Feature request
It looks like viewMode is always the default option and it is not possible to start with edit mode initially.
Allow initial mode to be programmatically set (either being view or edit mode).
No response
The text was updated successfully, but these errors were encountered:
I've figured out a workaround using ViewChild to get the instance of the EditableComponent and call editMode.set(true) .
ViewChild
EditableComponent
editMode.set(true)
import { xxx, ViewChild, AfterViewInit } from '@angular/core'; export class XXX... { @ViewChild(EditableComponent) editableComponent!: EditableComponent; ngAfterViewInit() { this.editableComponent.editMode.set(true); } }
Sorry, something went wrong.
No branches or pull requests
I'm submitting a
Feature request
Current behavior
It looks like viewMode is always the default option and it is not possible to start with edit mode initially.
Expected behavior
Allow initial mode to be programmatically set (either being view or edit mode).
Minimal reproduction of the problem with instructions
No response
What is the motivation / use case for changing the behavior?
No response
Environment
No response
The text was updated successfully, but these errors were encountered: