xbsoftware / enjoyhint

MIT License
777 stars 275 forks source link

Problem with select2 plugin #69

Open marwensniper opened 7 years ago

marwensniper commented 7 years ago

Need help plz.

I have a problem with select2 plugin

capture d ecran 2017-08-14 a 16 46 59

acharkizakaria commented 7 years ago

Please add your code here, the select2 plugin already tested and works fine.

marwensniper commented 7 years ago

`

Etape de cycle de vente <div class="form-group form-md-line-input form-md-floating-label"> <select id="pipelineEtapeOffre" name="pipelineEtapeOffre" class="form-control" style="width: 100%">

                                    </select>
                                </div>
                            </div>`

` var enjoyhint_instance = new EnjoyHint({});

var enjoyhint_script_steps = [
    {
        'next .top-menu': 'Re-Bonjour :)',
        'nextButton': {className: "myNext", text: "Suivant"},
        'skipButton': {className: "mySkip", text: "Quitter"},
        'shape': 'circle'
    },
    {
        'key #pipelineEtapeOffre': 'Sélectionner l\'étape de cycle de vente aprés cliquer sur entrée!',
        'nextButton': {className: "myNext", text: "Suivant"},
        'skipButton': {className: "mySkip", text: "Quitter"},
        'keyCode': 13
    } ];

enjoyhint_instance.set(enjoyhint_script_steps);
enjoyhint_instance.run();`
acharkizakaria commented 7 years ago

Which version of select2 are you using ?

bhurn02 commented 4 years ago

I've resolved mine using mouseup event instead of click event. { "mouseup #select2-employee-list-results li:first-child" : "Let's select <text style='color: #00a6eb'>Show all</text> for now." ,showSkip: false },