• Hi,

    I found some issue when generating the dropdown field. It only occurs when I assign a value in $field[‘config’][‘default’].

    In line 34, the condition always returns true since the value for $field[‘config’][‘option’][$field[‘config’][‘default’]] is always null.

    So it will add an empty option which should not be the case if the $field[‘config’][‘default’] exists.

    Thanks.

    https://www.ads-software.com/plugins/caldera-forms/

Viewing 1 replies (of 1 total)
  • Thread Starter nicheru

    (@nicheru)

    The dropdown field I used is auto populated via the filter – caldera_forms_render_get_field_slug.

Viewing 1 replies (of 1 total)
  • The topic ‘Issue in generating dropdown field’ is closed to new replies.