question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG]: In a form array value is not the editor content

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
sibiraj-scommented, Feb 8, 2021

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.

0reactions
github-actions[bot]commented, May 22, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found