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

quicksketch’s picture

except the custom attributes don't update in real time via ajax

What do you mean by custom attributes? All the fields should cause the AJAX preview to update.

Chipie’s picture

gsbc, 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.