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 workers = ref([]);
|
||||
const selected = ref([]);
|
||||
const insertButtonRef = ref();
|
||||
const saveButtonRef = ref();
|
||||
let salixUrl;
|
||||
|
||||
onMounted(async () => {
|
||||
|
@ -236,13 +236,11 @@ function goToAction() {
|
|||
</CrudModel>
|
||||
<QPageSticky position="bottom-right" :offset="[25, 25]">
|
||||
<QBtn
|
||||
ref="insertButtonRef"
|
||||
fab
|
||||
color="primary"
|
||||
icon="add"
|
||||
@keydown.tab.prevent="saveButtonRef.$el.focus()"
|
||||
@click="claimDevelopmentForm.insert()"
|
||||
@keydown.ctrl.enter.stop="claimDevelopmentForm.saveChanges()"
|
||||
@keydown.enter.stop
|
||||
/>
|
||||
</QPageSticky>
|
||||
</template>
|
||||
|
|
Loading…
Reference in New Issue