Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
4358 Представления

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.

Аватар
Отменить
Лучший ответ

Hello,

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


Hope this could helps

Аватар
Отменить
Автор

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

Автор

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

Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
нояб. 16
3327
1
сент. 24
3602
0
сент. 23
1244
0
сент. 23
1047
2
февр. 23
10220