Edit button in Dialog window

Created on 14 October 2023, 12 months ago

Problem/Motivation

When using dialog window - edit comment button does not work. It freezes whole page until ESC.
Note : It works fine when there is not "DELETE" button visible. once both buttons are there it looks like they are interference each other. Delete button works but Edit does not.

Steps to reproduce

1.Create content type with comment
2.Display mode = comment field.
3.Create link to open in modal :

<a class="use-ajax" href="/node/2" data-dialog-options="{&quot;width&quot;:800}" data-dialog-type="modal">First node displayed in modal dialog with Comment.</a>

4.click to Edit comment
5.Whole page is greyed out - see attached picture.
6. following notice in browser console :

An element doesn't have an autocomplete attribute
A form field has an id or name attribute that the browser's autofill recognizes. However, it doesn't have an autocomplete attribute assigned. This might prevent the browser from correctly autofilling the form.
To fix this issue, provide an autocomplete attribute.

6.Once you click ESC and try again it works but you need to do that every time.

if you click EDIT comment :

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia coaston

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024