Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
8984 Представления

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

Related Posts Ответы Просмотры Активность
3
сент. 23
21224
1
мар. 21
5049
2
окт. 20
13100
0
мая 17
2575
0
мая 22
2356