Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4670 Widoki

In Project-Task:

Description field is of type HTML, hence whenever we try to create a new record, odoo will automatically focus the cursor pointer to the description field instead of the field Task-Title (which is the first field/top-most field present in the form)


Hence how can I set cursor-pointer focus on the first field.

Awatar
Odrzuć
Najlepsza odpowiedź

Hello,

You can use tabindex attribute to reorganize cursor focus. check this answer for more details ...


Hope this could helps

Awatar
Odrzuć
Autor

This served the purpose, however using tab I couldn't navigate to those fields, as I understand it this property removed the tab focus.

Autor

So I used other way, just made the Title field as Required, so pointer re-focused to enter the data.

Najlepsza odpowiedź

Actually, at first the Curson on a title, but description field take time to load, hence the cursor moved to the description field.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lis 16
3605
1
wrz 24
4159
0
wrz 23
1763
0
wrz 23
1485
2
cze 25
10874