Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @uldisbertans

    You cannot do it with HTML standard because the option tags do not accept word breaks. Please, insert an “HTML Content” field in the form and enter the following piece of code as its content:

    
    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/select2.min.css" rel="stylesheet" />
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/select2.min.js"></script>
    <script>
    jQuery(window).on('load', function(){
    jQuery('.cff-dropdown-field select').select2();
    });
    </script>
    

    Best regards.

    Thread Starter uldisbertans

    (@uldisbertans)

    cool tnx

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to wrap text in dropdown’ is closed to new replies.