Display one field in JSON as multi line with Angular

Discussão em 'Angular' iniciado por adminHuan, Fevereiro 19, 2025.

  1. adminHuan

    adminHuan Guest

    I have a textarea component in Angular and i want to display its value (a JSON string) through [{ngModel}]. The result is image below current image

    What i want is the field "Message" display as below This image i've edited by MS Paint

    Can anyone help me? Thank a lot.

    The actual result is fist image. What i want is the second image.

    Continue reading...

Compartilhe esta Página