#8604: TicketFuture to VnTable #1395

Merged
jon merged 13 commits from 8604-FixTicketFuture into dev 2025-02-14 12:14:00 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit 2654f03446 - Show all commits

View File

@ -449,8 +449,11 @@ async function renderInput(rowId, field, clickedElement) {
node.appContext = app._context; node.appContext = app._context;
render(node, clickedElement); render(node, clickedElement);
if (['checkbox', 'toggle', undefined].includes(column?.component)) if (['toggle'].includes(column?.component))
node.el?.querySelector('span > div').focus(); node.el?.querySelector('span > div').focus();
if (['checkbox', undefined].includes(column?.component))
node.el?.querySelector('span > div > div').focus();
} }
function destroyInput(rowIndex, field, clickedElement) { function destroyInput(rowIndex, field, clickedElement) {