The solution ended up being very simple. Just update the data in the $select variable instead of the placeholder in args. This is done by replacing the line args.placeholder = 'Search for event';
with $select.data( 'placeholder', 'Search for event' );
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users