added focus on all pages where are inputs

This commit is contained in:
masterElmar
2023-11-10 18:52:19 +01:00
parent cf50715c53
commit 1a5bb4af3f
5 changed files with 5 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ function selectChange() {
placeholder="Select additional modules" placeholder="Select additional modules"
@change="selectChange()" @change="selectChange()"
@selectall-change="onSelectAllChange($event)" @selectall-change="onSelectAllChange($event)"
:autoFilterFocus="true"
> >
<template #option="slotProps"> <template #option="slotProps">
<div class="flex justify-content-between w-full"> <div class="flex justify-content-between w-full">

View File

@@ -66,6 +66,7 @@ async function getModules() {
option-label="name" option-label="name"
placeholder="Select a Course" placeholder="Select a Course"
@change="getModules()" @change="getModules()"
:autoFilterFocus="true"
></Dropdown> ></Dropdown>
<Dropdown <Dropdown
v-model="selectedSemester" v-model="selectedSemester"

View File

@@ -38,6 +38,7 @@ rooms().then(
filter filter
option-label="name" option-label="name"
placeholder="Select a Room" placeholder="Select a Room"
:autoFilterFocus="true"
/> />
</div> </div>
<div class="m-6"> <div class="m-6">

View File

@@ -93,6 +93,7 @@ function selectChange() {
placeholder="Select additional modules" placeholder="Select additional modules"
@change="selectChange()" @change="selectChange()"
@selectall-change="onSelectAllChange($event)" @selectall-change="onSelectAllChange($event)"
:autoFilterFocus="true"
> >
<template #option="slotProps"> <template #option="slotProps">
<div class="flex justify-content-between w-full"> <div class="flex justify-content-between w-full">

View File

@@ -74,7 +74,7 @@ function loadCalendar(): void {
<div <div
class="flex align-items-center justify-content-center border-round m-2" class="flex align-items-center justify-content-center border-round m-2"
> >
<InputText v-model="token" type="text" /> <InputText v-model="token" type="text" autofocus />
</div> </div>
<div <div
class="flex align-items-center justify-content-center border-round m-2" class="flex align-items-center justify-content-center border-round m-2"