Follow us on

Codestar Support Forum » WordPress Plugins » Codestar Framework

Select field problem on phone

  1. Hi,
    I am using the following code to add a custom field to the page.

    CSF::$enqueue = true;
    echo '<div class="csf-onload">';
            'id'          => 'fole',
            'type'        => 'select',
            'title'       => __('Roles', 'plugin-name'),
            'placeholder' => __('Select role or roles', 'plugin-name'),
            'options'     => 'roles',
             'ajax'        => true,
            'multiple'    => true,
            'chosen'      => true,
    echo '</div>';CopyCopied!

    But there is no select field in the mobile version of the page!
    I must say that the select field exists correctly in the desktop mode, but it does not load in the mobile mode.
    I have checked that there is no style problem and the selector section does not load at all.
    There are other fields on the same page and they are all loaded correctly and only select is not called on mobile.
    Image attached.

    Posted 10 months ago #