Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2017 มุมมอง

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>


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ธ.ค. 24
2278
2
พ.ค. 23
2276
1
เม.ย. 23
10368
0
ม.ค. 24
8536
1
มิ.ย. 15
4765