콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
2 답글
23954 화면

Good morning, My question, please, is how can we put help tooltip message on fields rather than labels (which is by default) so that when the user put the cursor n the textfield the tooltip message appears.

아바타
취소
베스트 답변

Hello, in .py side need to put field attribut "help" and your description. For Example

  • 'field_name': fields.char('Field Name', help="here is your tooltip message")

Hope this will help you.

아바타
취소
작성자

This help message will appear on the label 'Field Name', but I want the message appearing on the textfield itself

Then use placeholder="your message" in xml. It will display message in textfield and when you click on that field it will disapper if you write something and vice-versa.

작성자

thank you for this proposition but, what I really want is to have the help message appearing on the field rather than on the label when the user simply move the cursor on the field.

베스트 답변

Hi, 

how set dynamically the tooltip message?

by example:  help = "Inventory on hand" + some python code

 

thanks!

아바타
취소

Hi, have you found any solution for this? I also want a dynamic tooltip message.

Thanks.

관련 게시물 답글 화면 활동
0
3월 15
5700
1
3월 15
4652
1
2월 25
3529
1
12월 23
3365
2
3월 15
6017