Select2 dropdown list does not open after second editor openning

Select2 dropdown list does not open after second editor openning

lfabrylfabry Posts: 9Questions: 4Answers: 0

Hi

Have a series of select2 field in my editor form.
Everything works find when i open the editor for the first time. But after closing the editor form, and reoppenning it in create or edit mode, the dropdown field is clickable but nothing appear when clicking on it.
I will need to reload the page to get it working again.

{label: "Select type: ",name: "metadata_field_2",type: "select2",opts: {placeholder: "Select a content type",minimumResultsForSearch: 5,multiple: false,closeOnSelect: false,include_hidden: false}, options: generateTypeList(find_type('content[].type'))},

I upgraded from Select2 4.0.6 to 4.0.13 but not better.
I am using Editor 1.9.2

Any suggestions ?
Thanks in advance

Answers

  • colincolin Posts: 9,207Questions: 0Answers: 1,538

    As you say, that's not normal behaviour. Are you able to link to your page or create a test case so we can take a look?

    Colin

  • lfabrylfabry Posts: 9Questions: 4Answers: 0

    Hi Colin
    Thank!
    Iy might take some time to isolate the code.
    In the meantime you can take a look at
    https://www.adooh.org/adooh_v4/cpanel/schedules
    I have created a test account for you.
    Your company code is : 1RAH-AV4N
    user : datatable
    pwd : d@t@2020

    Since my last post, it appears that the issue is also common on the entire platform on all datatables Editor forms. And the issue appear as well on the datetime field,

    I suspect that i am having this issue since upgrade to 1.9.2 but have not yet confirmds this by moving back to earlier version

    Many thanks in advance for your help

  • colincolin Posts: 9,207Questions: 0Answers: 1,538

    I've logged in, but can't see a way to reproduce this, the tables are empty and I can't see a way to add new records. Please can you provide steps on how to reproduce the issue, please.

    Colin

  • lfabrylfabry Posts: 9Questions: 4Answers: 0

    Hi Colin
    Sorry , i should have provided a better guideline.

    Once connected, got to https://www.adooh.org/adooh_v4/cpanel/medias
    Click on the media tab.
    then Create a new Media.
    You will see that the media type select2 open up correctly. Then just close. No need to save.
    Then Create again and you see that you cant open the select2 field.
    Then reload and create again et the select2 works again for 1 time only.
    Problem appear for all features in the plattorm

    You can give a try on the schedule tab and the datetime field from and to actually have the same issue.
    Many thanks for taking the time to look at it,

  • akashethikaakashethika Posts: 7Questions: 2Answers: 0

    Any update on this? I am facing same issue.

  • colincolin Posts: 9,207Questions: 0Answers: 1,538

    Sorry @lfabry , your reply slipped through. I took a look again at your site, but cannot see "create a new Media" on the media tab.

    @akashethika - if you could post a link or a test case that demonstrates the issue, we're happy to take a look. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Colin

  • akashethikaakashethika Posts: 7Questions: 2Answers: 0

    Please use the following credentials

    URL: https://ethika.myswish.in
    username: suresh@ethika.co.in
    Password: 8CuZtJw&iJ$hdp@k&N63KMLG

    To replicate the issue,

    1. Login using the above credentials
    2. Visit https://ethika.myswish.in/view-pipeline/?pipelineId=11
    3. Select any record and click on the edit button from the buttons set (as shown in image attached)
    4. Close the edit window and repeat step 3 again
  • colincolin Posts: 9,207Questions: 0Answers: 1,538

    I just tried logging in but those credentials aren't being accepted. Please could you check them,

    Colin

  • akashethikaakashethika Posts: 7Questions: 2Answers: 0

    Updated the password to - Pass@123

    Please let me know if you are still facing any issue there.

  • akashethikaakashethika Posts: 7Questions: 2Answers: 0

    @colin you can access https://ethika.myswish.in/view-pipeline/?pipelineId=132 this URL without Login.

  • lfabrylfabry Posts: 9Questions: 4Answers: 0

    Hi @colin

    "Sorry @lfabry , your reply slipped through. I took a look again at your site, but cannot see "create a new Media" on the media tab."

    I may have not been very accurate in my description above , click on the media menu, then list tab and from there you should see a 'create' button.

    I can't really post a fiddle case, as my platform is a mixed of CodIgniter and Datatables and other js libraries, and it is quite difficult to isolate a simple code. But as explained I am facing the issue on all the object of the platform. You can also go to schedule and create a new schedule. then close and create again.

    Thanks!

  • akashethikaakashethika Posts: 7Questions: 2Answers: 0

    Any update on this? As mentioned in the above comment Please use https://ethika.myswish.in/view-pipeline/?pipelineId=132 to replicate the issue.

  • allanallan Posts: 52,290Questions: 1Answers: 7,966 Site admin

    Hi,

    Thanks for the link to a test case.

    I don't have an immediate fix for this I'm afraid - I don't recall having seen anything quite like this before. You have two different versions of jQuery loading on the page (one in jquery.js and one in plugins.min.js.

    Could you remove one please - probably the plugins one?

    Thanks,
    Allan

Sign In or Register to comment.