richTextEdit
This is a component in which formatted texts can be displayed and edited in Rich Text Format.
|
Property |
Description |
Example |
|
model |
As in the article "Common properties of all fields", except that the rich text objects are all contained in an additional property called "RichTextFields", followed by the table and field names: (entity.)RichTextFields.tablename.fieldname The table and field names must always be written in lowercase. |
"model": "entity.RichTextFields.lbkopf.zusatz" |
|
plainTextField |
Field name in which the plain text is additionally written. Useful if an existing field is subsequently changed to rich text. |
"plainTextField": "entity.Zusatz" |
Rich texts can only be used in objects that are already prepared for use.
Currently these are:
Service reports (Lbkopf, Lbkopfind, Lbzlist, Lbzlistind, ...)
Assignment (Planung, Plind)
Assignment text
Ticketmaterial
Documents
"FIELD_REMARKS_2_RICH_TEXT": { "type": "richtextedit", "model": "entity.RichTextFields.lbkopf.zusatz", "plainTextField": "entity.Zusatz", "visible": true, "labelAndControlCombined": true, "required": false, "name": "{{{Regionen.Adresse.Zusatztext}}}", },