When click on webform>build and try to add a field, the ajax loading won't stop, but addes a lot's of flexbox automatically.
I am unable to stop such robotic creation of flexbox.
Please help me find the solution.

Comments

mahsandu created an issue. See original summary.

jrockowitz’s picture

Are you able to reproduce this issue using https://simplytest.me?

Are the webform libraries being loaded via CDN? (see /admin/reports/status)

jrockowitz’s picture

Status: Active » Postponed (maintainer needs more info)
mahsandu’s picture

StatusFileSize
new677.47 KB

I have created site in simplytest.me (https://stm5e8cecbb5bdc5-yswruddrna7rkrszb3jfchcs5fmzec8v.tugboat.qa) that worked fine. But in my site this is happening.
I have created a screen-cast. please see in the link (Video Screen cast). Hope this helps you.
I have looked into the status report but, no error with webform libraries. I have installed all the libraries using ludwig as my hosting doesn't support composer.

jrockowitz’s picture

Either some custom or contrib code/theme is most likely triggering this issue. You might try disabling some modules.

Since I can't reproduce this issue, there is no way for me to fix it.

mahsandu’s picture

Thanks jrockowitz for the hint. I have figured out the problem.
webform_shortcuts Module is creating that problem. After disabling this module the problem is gone. Re-enabling again comes with problems.
Please solve the problem with what is with the "Webform Shortcuts" Module. Hope you will find out. Have a nice day.

jrockowitz’s picture

Priority: Critical » Normal

Yep! I am able to reproduce this issue by having the "Webform Shortcuts" Module without the jquery.hotkeys library being downloaded on my local machine. I am pretty sure https://simplytest.me will duplicate this issue when the "Webform Shortcuts" Module is enabled.

jrockowitz’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new693 bytes

The attached patch fixes the broken CDN link.

barone’s picture

StatusFileSize
new122.83 KB

jrockowitz FYI: i was not able to reproduce the bug on https://simplytest.me - webform 8.x-5.9 with webform_shortcuts enabled.

The fields were added without any errors:

Simplytest bug not reproduced

  • jrockowitz authored 0939631 on 8.x-5.x
    Issue #3125458 by jrockowitz, mahsandu, barone: drupal 8 webform adding...
jrockowitz’s picture

Status: Needs review » Fixed

@barone Thanks for reviewing this issue.

I committed the patch. Please download the latest dev release to review.

barone’s picture

@jrockowitz just installed the latest webform 8.x-5.x into a clean 8.8.5 installation.
Apache/2.4.29 (Ubuntu)
PHP 7.2.24-0ubuntu0.18.04.3
MySQL5.7.29-0ubuntu0.18.04.1

Fields created with the webform_shortcuts enable, without any bugs or errros.
Test Evidence
Test evidence 3125458

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

asespat’s picture

Hello sorry. didnt see this post.

I have the librarie jquery.hotkeys at libraries.

what i'm missing?

thanks

asespat’s picture

Thanks.

sorry for disturbing i really apologice.

i solved uninstalling webform_shortcuts

thanks a lot.