Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2038 Tampilan

I create a text field with size=4000. I can see the right line break effect in edit mode, but in not edit mode the text is one line without line break.

I use the style as below, but it does not work. Could someone know how to solve the line break problem in using the text field?

omment_log = fields.Text(string='doctor word', size=4000)

<div colspan="6" style="white-space:pre-wrap;">
<field name="comment_log"/>
div>


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
2
Des 24
2323
2
Mei 23
2298
1
Apr 23
10389
0
Jan 24
8569
1
Jun 15
4782