ckEditor not updates its value

Community Driven Extensions Project
Post Reply
Swapfaces
Posts: 12
Joined: 07 Oct 2019, 14:58

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.
Last edited by Swapfaces on 14 May 2021, 13:19, edited 1 time in total.
Primefaces 10, manhattan theme
TomCat version: 9.0.39
Faces API: javax.faces, javax.faces-api, 2.2
Faces implementation: com.sun.faces, jsf-impl, 2.2.8

Melloware
Posts: 2656
Joined: 22 Apr 2013, 15:48

14 May 2021, 13:14

What would be better is a small reproducer so I can debug your issue. Can you create a small PrimeFaces Test showing me the issue?

Use: https://github.com/primefaces/primefaces-test
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 10.0.2 / PF Extensions 10.0.2

Swapfaces
Posts: 12
Joined: 07 Oct 2019, 14:58

17 May 2021, 10:27

Hello, Melloware!

Somehow I've fixed the issue in last friday (and forgot how), but I did test app with a new bug :D This bug is unrelated to the topic, and mostly, I think, it's about my inattention.


When you change a value in seleOneMenu, the binded variable have to be set up to null, when there's no chosen option.

https://github.com/soroka-ihor/primefaces-test/
Primefaces 10, manhattan theme
TomCat version: 9.0.39
Faces API: javax.faces, javax.faces-api, 2.2
Faces implementation: com.sun.faces, jsf-impl, 2.2.8

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests