Skip to content

Commit

Permalink
fix: composite editor wrong selector
Browse files Browse the repository at this point in the history
  • Loading branch information
zewa666 committed Sep 2, 2024
1 parent b0c93bc commit 77b89c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ export class SlickCompositeEditorComponent implements ExternalResource {
this._itemDataContext = editor?.dataContext ?? {}; // keep reference of the item data context

// add extra css styling to the composite editor input(s) that got modified
const editorElm = this._modalElm.querySelector(`[data-editorid=${columnId}]`);
const editorElm = this._modalElm.querySelector(`[data-editorid='${columnId}']`);
if (editorElm?.classList) {
if (isEditorValueTouched) {
editorElm.classList.add('modified');
Expand Down

0 comments on commit 77b89c6

Please sign in to comment.