Theme: Any Jquery UI theme
Jquery 1.8.3
Jquery UI 1.9.2
Bug is that hovering over a textbox after setting the text and/or value via jquery (with a button or other method) will erase the text of an igTextEditor that is set to readOnly = true and nullText = "blah blah". The nullText will be present again. If you comment out or do not apply nullText then it will work fine.
How to test:
Put input on page.
Use jquery to set it to igTextEditor and set nullText to a value and set readOnly to true. Add a button on the page. When button clicks then use jquery to change text or val of the editor. Then hover over the textbox and it will change back to nullText value.
Please let me know.
Thanks,
Michael
I am using the latest controls.
I know it happens in IE 10 and Chrome
That definitely did the trick. I didn't know that I had to change the value through the editor.
Thank you.
Hello mhead1,
Thank you for posting in our forum.
Are you setting the value through the jQuery val() method directly on the input element?
That won’t work with the editor’s widget due to its architecture. In case you have null text the value in the input element will be the string you set for the nullText property however the actual value is persisted separately and will not be changed when you use the val method.
There’s a different method exposed through the editor’s API that you should use instead:
$(".selector").igTextEditor("value", value);
You can see the Text editor’s API here:
http://help.infragistics.com/jQuery/2012.2/ui.igtexteditor
Let me know if you have any questions on this.
Best Regards,
Maya Kirova
Developer Support Engineer II
Infragistics, Inc.
http://ko.infragistics.com/support