I was experiencing a similar problem with one of my custom widgets. It seems that dynamically inserted field values do not trigger the widget form to update. I wound up adding the following to the js that inserts the dynamic value:
$(input).trigger('change');
where input is the field you are updating.
Not sure if there is a better way to do this, but this is working for me.
Related Posts:
- Can a widget in the Customizer be “single-use” (i.e. disabled after 1 instance has been added)?
- How to refresh Theme Customizer after change color inside wpColorPicker?
- Widgets not displaying in theme customizer
- Where to get the unsaved list of widgets in customizer?
- How to enable “shift-click to edit this widget” functionality on a custom widget?
- Remove the widgets tab from theme customizer
- Wp Customizer event for when a new widget has been added
- How to determine the number of widgets contained in a sidebar via customizer JS
- Sidebar not show customizer!
- Can’t see widget areas in my customizer
- Adding widgets with Featured Image via the Customizer run hundreds of queries
- Widget changes in customizer ajax error to many options?
- Color picker in widget appears twice when added via the Customizer
- WordPress Edit Button not appearing for widget in customizer
- Make single widget area top level in 4.0 Customize Panel
- Widget not appearing in customizer
- How do I enable the admin form for a custom widget that is called in a sidebar template, not to widget area?
- How to move widget area to another section in WordPress Customizer
- Force update widget customizer using js
- Add Control in Widgets Sub-Panel in Customizer
- Add Social Media icon widget to customizer
- Use customizer or sidebar for header settings?
- Using javascript on the new widget preview / customizer page
- How can I use the built in WordPress “browse link” functionality?
- Code for Recent Posts Widget
- Modifying the default search widget
- Prevent widgets removal
- Get sidebar parameters (before_widget, before_title, etc.) from within a widget
- How to add image uploader to a custom widget?
- How do I use the control callback when creating a simple dashboard plugin
- How to use jQuery on widget admin page
- is_active_sidebar() Always Returns False
- Different rss feeds in a single dashboard widget
- jQuery does not work in widget backend
- Count widgets in position and set class
- How do I add Widgets to my theme and activate them on my site?
- How to insert widget areas specific to certain pages (or posts, etc.)?
- Widget queries even when there are no sidebars?
- Add Descriptive text to Widget text box so users can see what they contain
- Trying to wrap around first word of multiple word strings with a widget_title() filter, only works on two word strings and not more than two
- Read file contents the WP way
- How to hack recent comments default widget?
- Recent Posts widget without Title
- Create a widget that allows text input
- Pre-install widgets in WP-Admin
- Subscribe2 widget with choosing categories?
- How to change plugin`s template (view) correctly?
- Showing a Thickbox (tb_show) does nothing
- jQuery UI inside widget on admin page
- Check if the current shortcode is being used in a widget
- How to Add TinyMCE to widget
- How can I get the first section of a page 100% width, while the rest will have a sidebar? [closed]
- Modify ‘Sizes’ Attribute for Images with Specific Class
- Issue understanding and using WordPress filters and actions
- How can I inject html after the [x]th widget inside a Sidebar? [duplicate]
- RSS dashboard widget not showing visuals
- Grabbing how Many Posts by Month for a Dashboard Widget
- ‘is_author()’ logic in widget for author only
- wp_dropdown_pages in widget form
- Recent Comments from Specific Category Widget
- Different sidebars not changing
- How do I create a template page with a specific widget as the content?
- Loading the native WordPress image uploader in custom widget
- How to make widget appear conditionally
- How Migrate a Legacy Widget to block?
- Ampersand breaking Widget title
- Creating a dynamic class name in my custom widget
- WordPress Local to Live and The Missing Widgets!
- Extending the WordPress Recent Posts Widget
- delete widget upon uninstall
- How to paste widget to a specific page
- How do I find out which
- Unable to see Widget Submenu under Appearance with Class Based WP_Widget
- An archive widget, coming from nowhere on my posts and pages
- custom widget not saved to sidebar
- When editing in block editor, the post/article gets under the floating widgets
- Make widget with media upload repeatable
- Is it possible to dynamically output the name of the widgets?
- Apply two different styles to Wiget Titles along with a decorative line
- How Can I Replicate & Register a Widget from the Child Theme
- How to retrieve category ID’s from widget settings?
- Widget to embed youtube video
- Can I use wp_widget_rss_output to show my site’s feed in the dashboard?
- How to make featured area?
- Checking if widget has title not working
- wp_list_categories + widget
- How can I add widgets to the category page?
- Remove default WordPress widgets
- Can I add a widget to the of my site?
- How to show widget in frontend?
- Widget Development – Displaying dropdown content
- Single Widget Multi Sidebar
- An issue with register_sidebar and the admin interface
- page url in shortcode
- iframe/embed vid in text widget loads outside container and moves around when scrolling the page?
- menu in different page in different style
- Widget on home page displays wrong time compared to same widget on inside pages
- Widget logic not working
- Can’t edit the widgets sidebar or footer
- Custom dashboard widget – load style only for added widget