跳至內容
選單
此問題已被標幟
2 回覆
4799 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 16
3754
1
9月 24
4404
0
9月 23
1922
0
9月 23
1611
2
6月 25
11064