0

when i write

{{form}}

it's output [object Object] but when i write

{{form | json}}
ERROR TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'TView'
    |     property 'blueprint' -> object with constructor 'LViewBlueprint'
    --- index 1 closes the circle
    at JSON.stringify (<anonymous>)
    at JsonPipe.transform (common.mjs:4605)
    at Module.ɵɵpipeBind1 (core.mjs:22291)
    at UserSettingsFormsComponent_Template (user-settings-forms.component.html:97)
    at executeTemplate (core.mjs:9603)
    at refreshView (core.mjs:9469)
    at refreshComponent (core.mjs:10640)
    at refreshChildComponents (core.mjs:9265)
    at refreshView (core.mjs:9519)
    at refreshComponent (core.mjs:10640)

enter image description here

1 Answer 1

2

i found the answer here Angular Json Pipe TypeError: Converting circular structure to JSON it must be writen

{{form.value|json}}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.