Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
4524 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello,

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


Hope this could helps

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 11 16
3447
1
thg 9 24
3872
0
thg 9 23
1481
0
thg 9 23
1240
2
thg 2 23
10502