تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4547 أدوات العرض

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
نوفمبر 16
3463
1
سبتمبر 24
3898
0
سبتمبر 23
1500
0
سبتمبر 23
1262
2
فبراير 23
10538