Se rendre au contenu
Menu
Cette question a été signalée
2157 Vues

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
Ignorer
Publications associées Réponses Vues Activité
2
déc. 24
2578
2
mai 23
2503
1
avr. 23
10668
0
janv. 24
8716
1
juin 15
4947