- Issue created by @coaston
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.
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="{"width":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 :
Active
1.0
Code