Fix dropdown field functionality

The plugin uses the Select2 library for dropdown fields. Some third-party plugins also use this library. Dropdown fields may work wrong if a third-party plugin influences these fields.

Use this code snippet to re-initialize dropdown functionality. Just add a code snippet below to your custom JS file or use a plugin that can add JavaScript snippets.

NOTE: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.