Merge branch 'dev' into 8593-parkingTestsE2e
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
PAU ROVIRA ROSALENY 2025-02-14 10:36:30 +00:00
commit aabff80b82
2 changed files with 5 additions and 2 deletions

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) {

View File

@ -35,7 +35,7 @@ const filterWhere = computed(() => ({
auto-load auto-load
@on-fetch="(data) => (validAddresses = data)" @on-fetch="(data) => (validAddresses = data)"
/> />
<FormModel :url="`Zones/${route.params.id}`" auto-load model="zone"> <FormModel :url="`Zones/${$route.params.id}`" auto-load data-key="Zone">
<template #form="{ data, validate }"> <template #form="{ data, validate }">
<VnRow> <VnRow>
<VnInput <VnInput