after saving a QTextEdit to the database, it might reload and show only an empty field
What went wrong?
see local project coding/0-qt-examples/qq21-datawidgetmapper/20170904-wim-sqlwidgetmapper/
--> we changed the QTextEdit to a QPlainTextEdit.
Apparently, the QTextEdit tried to save HTML to the database, but could not find a valid HTML-code. So it saved HTML-code that only show an empty TextEditBox...
after saving a QTextEdit to the database, it might reload and show only an empty field
What went wrong?
see local project
coding/0-qt-examples/qq21-datawidgetmapper/20170904-wim-sqlwidgetmapper/
--> we changed the QTextEdit to a QPlainTextEdit.Apparently, the QTextEdit tried to save HTML to the database, but could not find a valid HTML-code. So it saved HTML-code that only show an empty TextEditBox...
other way to solve it: https://forum.qt.io/topic/76021/field-does-not-get-saved-correctly/4
but then better to use a QPlainTextEdit from the start, I guess