dynaspan icon indicating copy to clipboard operation
dynaspan copied to clipboard

Callbacks don't seem to execute with dynaspan_select

Open danielpclark opened this issue 9 years ago • 2 comments

Testing callback_with_values with any of "console.log", "console.log()", and "console.log;" raises a console error of "console.log is not a function". Also callback_on_update doesn't seem to do anything.

I have not retested the dynaspan_text_field or dynapsan_text_area to see if these have been affected. Perhaps version 0.1.4 has introduced it with the field_val variable changing beyond the scope it was intended.

danielpclark avatar Mar 14 '16 10:03 danielpclark

Quotes seem to be doubled.

data-ds-callback-on-update=""alert('change')""

danielpclark avatar Mar 14 '16 10:03 danielpclark

The problem is not related to previous update. I've tried chopping ends of the string ""example"" and tried using jQuery.globalEval ... Both attempts have failed.

danielpclark avatar Mar 14 '16 11:03 danielpclark