Merge pull request 'refs #5673 feat(claimDevelopment): tab on add button makes focus on save' (!105) from 5673-warmFix_claimDevelopment_tabFocus into test
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
Reviewed-on: #105 Reviewed-by: Carlos Satorres Adam <carlossa@verdnatura.es>
This commit is contained in:
commit
d70166bae3
|
@ -19,7 +19,7 @@ const claimResponsibles = ref([]);
|
||||||
const claimRedeliveries = ref([]);
|
const claimRedeliveries = ref([]);
|
||||||
const workers = ref([]);
|
const workers = ref([]);
|
||||||
const selected = ref([]);
|
const selected = ref([]);
|
||||||
const insertButtonRef = ref();
|
const saveButtonRef = ref();
|
||||||
let salixUrl;
|
let salixUrl;
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
|
@ -236,13 +236,11 @@ function goToAction() {
|
||||||
</CrudModel>
|
</CrudModel>
|
||||||
<QPageSticky position="bottom-right" :offset="[25, 25]">
|
<QPageSticky position="bottom-right" :offset="[25, 25]">
|
||||||
<QBtn
|
<QBtn
|
||||||
ref="insertButtonRef"
|
|
||||||
fab
|
fab
|
||||||
color="primary"
|
color="primary"
|
||||||
icon="add"
|
icon="add"
|
||||||
|
@keydown.tab.prevent="saveButtonRef.$el.focus()"
|
||||||
@click="claimDevelopmentForm.insert()"
|
@click="claimDevelopmentForm.insert()"
|
||||||
@keydown.ctrl.enter.stop="claimDevelopmentForm.saveChanges()"
|
|
||||||
@keydown.enter.stop
|
|
||||||
/>
|
/>
|
||||||
</QPageSticky>
|
</QPageSticky>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue