• Resolved John

    (@dsl225)


    Hello,

    A name prefix dropdown doesn’t display anymore although was always working fine.
    Apparently, since last update.

    This a name field with 3 boxes – prefix, first name, last name – and only the prefix dropdown is not displaying anymore.

    Website details have been sent by email.
    Not using Elementor or any other builder.

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @dsl225,

    I don’t see any emails regarding the Website on our side. However, from the description it might sounds like a known issue, could you please try the following snippet and then check whether you still face any issues regarding this?

    <?php
    
    add_action( 'wp_enqueue_scripts', function() {
    	if ( defined( 'FORMINATOR_VERSION' ) ) {
    		wp_enqueue_script(
    			'forminator-select2',
    			WP_PLUGIN_URL . '/forminator/assets/forminator-ui/js/select2.full.min.js',
    			array( 'jquery' ),
    			FORMINATOR_VERSION,
    			false
    		);
    		wp_enqueue_style(
    			'forminator-select2',
    			WP_PLUGIN_URL . '/forminator/assets/forminator-ui/css/src/form/select2.min.css',
    			array(),
    			FORMINATOR_VERSION
    		);
    		$form_designs = array( 'material', 'default', 'flat', 'bold' );
    		foreach ( $form_designs as $form_design ) {
    			wp_enqueue_style(
    				'forminator-forms-' . $form_design . '-full',
    				WP_PLUGIN_URL . '/forminator/assets/forminator-ui/css/src/form/forminator-form-' . $form_design . '.full.min.css',
    				array(),
    				FORMINATOR_VERSION
    			);
    		}
    	}
    }, 1 );

    You can apply the above snippet via mu-plugins. Please check this link on how to implement the above code as a mu-plugins:
    https://premium.wpmudev.org/docs/using-wordpress/installing-wordpress-plugins/#installing-mu-plugins

    If the above code doesn’t help much, then please do share the form export in the next reply so that we could further investigate if needed.

    You can use Google Drive, Dropbox or any such cloud services to share the form export.

    Looking forward to your response.

    Kind Regards,
    Nithin

    Thread Starter John

    (@dsl225)

    Hi Nithin and thanks for your feedback.

    I’ll try this snippet but before I do that can you please check my email exchange with RYAN titled “Re: Other Question: Maybe a bug in Forminator forms” where you may find the website’s link so that we are sure we are talking about the same issue.

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello there @dsl225

    This does sound like the same issues around the select2 library of the plugin, so please do backup your site and test out the given snippet.

    Looking forward to your results,
    Dimitris

    Thread Starter John

    (@dsl225)

    Thanks guys,

    I confirm that it works with this snippet.
    Added it as a mu-plugin and all is fine.

    Now, the question is what will happen when a new version will correct this bug?

    Thread Starter John

    (@dsl225)

    Hello,

    Has this issue been resolved with latest update 1.14.11?
    I tested by removing the above snippet from the mu-plugins folder and it seems to work fine but prefer to ask in order to be sure it was corrected.

    Thanks!

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @dsl225

    I checked the reported issues and I see some fixes included on the 1.14.11.

    You can disable the script and keep it without it in case it is working as expected for you too.

    Feel free to ping us any time you need.

    Best Regards
    Patrick Freitas

    Thread Starter John

    (@dsl225)

    Thanks Patrick!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Dropdown option not displaying (new thread)’ is closed to new replies.