function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Why the lookup dialog don't disappear when I select a value

I use <apex:inputField> in the VF page.Which to input a lookup field.When I choose the value.The lookup dialog don't disappear.

Does anyone know the reason.

any sugestion would be appreciated.





You need to deselect(set to off) the Developer Mode in your Personal Information,then it will be disappeared.





I think it was caused by my js code.If my js code was disabled.That was fine.But I haven't find the reason


I found the reason cause the bug.But I don't know how to fix.

when I change the value of one field on the js code will search the related value of the lookup field.then I'll rerender those lookup field. all the lookup field show on the page use <apex:input/>.

If the lookup field rerendered. the lookup dialog can't disappear.


any suggestion would be appreciated.Thanks