ckEditor not updates its value
Posted: 14 May 2021, 11:49
Greetings!
I have to disable 'Save' button depending on is ckEditor component clear.
Everything's going fine (when editor is clear - the button is disabled) untill I interract with selectOneMenu component on the page.
Just after I changed some value in the selectOneMenu, there starts a little bug.
The bug: you type the letter "a" - the value is "a", than you type again the letter "a" - the value is "aa", than you press "backspace" - the value is "a", and "backspace" again - the field is clear, but the value is still being "a".
Thanks for any information!
P.S. if my explanation isn't understandable, I can record a little screencast.
I have to disable 'Save' button depending on is ckEditor component clear.
Everything's going fine (when editor is clear - the button is disabled) untill I interract with selectOneMenu component on the page.
Just after I changed some value in the selectOneMenu, there starts a little bug.
The bug: you type the letter "a" - the value is "a", than you type again the letter "a" - the value is "aa", than you press "backspace" - the value is "a", and "backspace" again - the field is clear, but the value is still being "a".
Thanks for any information!
P.S. if my explanation isn't understandable, I can record a little screencast.