Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
The answer from Optimizely Support was that in an editor where there is no real focus you have to set it explicitly with onStartEdit and onStopEdit.
The updated code is:
_setValue: function (value) {
this.onStartEdit();
this._set('value', value);
this.onChange(value);
this._updateDisplayNode(value);
this.validate();
this.onStopEdit();
},
This solved the problem!
_setValue: function (value) { this._set('value', value); this.onChange(value); this._updateDisplayNode(value); this.validate(); }