Scripts dependency
In case you are having a conflict with some other plugin or theme, you can try to change the order of the scripts loading. This filter will make forms scripts dependent on your scripts and load them after your scripts.
\add_filter('es_forms_general_scripts_dependency', [$this, 'getScriptsDependency']);
/**
* Provide custom scripts dependency.
*
* This filter will provide you with the ability to add custom scripts dependency so you can load your project scripts before the forms scripts.
*
* @return string<int, string>
*/
public function getScriptsDependency(): array
{
return [];
}