[BUG]: In a form array value is not the editor content
See original GitHub issueI’m submitting a
- Regression (a behavior that used to work and stopped working in a new release)
- Bug report
- Enhancement
- Feature request
- Documentation issue or request
Description
When using a FormArray, the value of a control is { type: string, content: Array }.
Version Information
ngx-editor: 8.0.0-beta.7
angular: 9.1.13
Browser
- All browsers
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Unable to typing more than 1 character in input for FormArray ...
Cause. You get this problem because you rely on formGroup.value which gets a new instance when any of the input value changes.
Read more >Reactive Forms: modifying a FormArray does not flip dirty switch
The suggested method is myFormArray.push(myFormGroup) , if the FormArray value is being directly assigned in some way, this can break change/ ...
Read more >4 Problems of Angular 14 Typed Forms and How to Fix Them
4 Problems of Angular 14 Typed Forms and How to Fix Them. 1. We Cannot get Controls Types from Model. You can't get...
Read more >Angular FormArray - Complete Guide
A FormArray , just like a FormGroup , is also a form control container, that aggregates the values and validity state of its...
Read more >Bug - Error displaying nested arrays in the inspector
It doesn't let you edit the element at all. The only fix Ive found is downgrading to Unity 2020, which Id prefer not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad that fixes the issue. Also make sure initial value is not null as well, It will cause the editor to emit json. You can set it to empty string.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in the thread.