Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4676 มุมมอง

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
3609
1
ก.ย. 24
4175
0
ก.ย. 23
1770
0
ก.ย. 23
1491
2
มิ.ย. 25
10883