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

Hello Community;

Need Your help to know how to set an option as default value in a select in a qweb template.

I have tried this but it did not work:

option t-att-value="1" t-att-selected="1"

option t-att-value="2" 

option t-att-value="3"

But it is not working.

Need your help please.

Thanks a lot in advance.

아바타
취소
베스트 답변

Hi Rihenne,

Please try this one..

<option value="your_value" selected="true">Your String</options>

Hope this will help......

Regards

아바타
취소
작성자

It is not working !!!!!

Sorry for the trouble, Answer updated

관련 게시물 답글 화면 활동
3
9월 23
21262
1
3월 21
5063
2
10월 20
13138
0
5월 17
2583
0
5월 22
2366