Line breaks in textarea element

后端 未结 8 1579
借酒劲吻你
借酒劲吻你 2020-12-30 22:18

This is PURE HTML. (no php or anything like that, if you want to know the background its a C# application with HTML in a web view).

All my HTML files are nicely form

8条回答
  •  遥遥无期
    2020-12-30 23:01

    This works for me in angular:

    ts: log: string[] = [];

    html:

    result: in textarea each item of log is shown in a new line.

提交回复
热议问题