Skip to content

Commit

Permalink
Lists: If inline form is used, mark active row
Browse files Browse the repository at this point in the history
  • Loading branch information
r3-gabriel committed Sep 18, 2023
1 parent 8b88072 commit 12615c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions www/comps/list.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@
filter:brightness(88%);
transition:filter 0.5s;
}
.list .layoutTable tbody tr.rowSelect.active{
background-color:var(--color-accent3-alt);
}
.list .layoutTable tfoot tr{
background-color:var(--color-bg);
}
Expand Down
2 changes: 1 addition & 1 deletion www/comps/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ let MyList = {
@click="clickRow(r,false)"
@click.middle="clickRow(r,true)"
@keyup.enter.space="clickRow(r,false)"
:class="{ rowSelect:rowSelect && !inputIsReadonly }"
:class="{ rowSelect:rowSelect && !inputIsReadonly, active:popUpFormInline !== null && popUpFormInline.recordIds.includes(r.indexRecordIds['0']) }"
:key="ri + '_' + r.indexRecordIds['0']"
:ref="refTabindex+String(ri)"
:tabindex="isInput ? '0' : '-1'"
Expand Down

0 comments on commit 12615c8

Please sign in to comment.