I have a problem and I wonder if anyone here can give me a light. I need to
allow site administrators to edit the home page, then created a widget for
each block and turned the home page in an area sidebar which displays the
contents of widgets.
Administrators use the customizer to edit widgets and already have a
preview of how it will look.
So far so ok.
The problem is that one of the widgets has a field to select a post, and
this field has the autocomplete jQuery UI. The problem is that when I type
the first 3 letters customizer saved to memory (or somewhere else) the
first 3 letters and already makes reload the preview, when I click on the
post that desire, the auto box complete, it fills the input text, but does
not make the live reload. Worse, if I click the save button it does not
save the content that is in the input text (in this case the full title of
the post), it saves the first 3 letters I typed, I think he will get the
data in the place that you saved when you made auto save the live preciew.
What I think is to find a js callback, so the select event autocomplete I
call the callback to save it and do the live preview of the correct
I apologize if I expressed myself badly, I hope someone can shed some light.