So I'm dynamically populating a drop down everything works fine on the front-end, utilizing
add_action("gform_pre_render", "foo");
but I noticed in the admin that it wasn't populating the drop down with any values. Now, I know it doesn't need to show the values from the dynamic population, but it is pretty bleh to not be able to see them there. So I decided to use
add_action("gform_admin_pre_render", "foo");
to populate it in the admin. However, whenever I do that, it breaks the ability to use conditional logic on the form. It returns with a javascript error:
choiceValue.replace is not a function
on line 4041
Since it doesn't affect the way the forms work on the front-end or back-end and submission, this isn't that huge an issue, but it's a bug I thought I'd point out none-the-less.