Upgraded from 1.9.28 to 2.02, TextAreaEditor breaks dialog forms
See original GitHub issueAny forms with a TextAreaEditor no longer load. Javascript errors in Serenity.Script.UI.js
var $Serenity_TextAreaEditor = function(input, opt) {
ss.makeGenericType($Serenity_Widget$1, [$Serenity_TextAreaEditorOptions]).call(this, input, opt);
if (this.options.cols !== 0) {
input.attr('cols', this.options.cols.toString());
}
if (this.options.rows !== 0) {
input.attr('rows', this.options.rows.toString());
}
};
if (this.options.cols !== 0) { input.attr('cols', this.options.cols.toString());
cols and rows is null, so the .toString() call is throwing a nullreference exception.
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

No worries; the problem was I didn’t follow instructions yesterday when I was told to back up the solution. The upgrade this morning went smoothly, I assume because I did the backup this time 👍 .
Thanks, sorry for trouble.