Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've built a new component which works fine with webform and form builder, except the custom attributes don't update in real time via ajax when the user edits the component in the form builder UI.
I haven't been able to find out how to do this in the documentation. Can anyone point me to the right direction please?
Comments
Comment #1
quicksketchWhat do you mean by custom attributes? All the fields should cause the AJAX preview to update.
Comment #2
Chipie CreditAttribution: Chipie commentedgsbc, have you found a solution for this? I'm having the same problem and I don't know how to update the preview of my component. It will only be updated, if I save the component. I have to make _webform_render_component() to use the current values of form_builder configuration form, but I don't know how.