Hi,
I have a problem when using Dojo List TexBox.
Currently, I'm using Dojo List TextBox with the Value Picker Control. The Value Picker has a simpleValuePicker dataProvider.
my dataProvider provides few simple label|value pairs, for example:
-
Human Resource Department | HR_DEPT
-
Database & Software Department | DBS_DEPT
-
Marketing Department | MAR_DEPT
...
My Person form has a field named Department bound to the Dojo List TextBox control, and currently have the value MAR_DEPT, and everything is working fine (the Dojo List TextBox display the label Marketing Department).
But if I deleted the MAR_DEPT from the dataProvider, then the Dojo List TextBox will failed with the NullPointerException. Is there any way to correct this (maybe only its value, because the label|value item has been deleted from the dataProvider).
Otherwise, I have to search for all the documents that are using the deleted value when deleting a dataProvider's item, only then to remove the invalid reference for the Dojo List Textbox to work.
I hope to make it clear, and some one can help me out.
Thanks.