I'm building snippet options, and I can't find anywhere how to activate a snippet option by default.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- Müşteri İlişkileri Yönetimi
- e-Commerce
- Muhasebe
- Envanter
- PoS
- Proje Yönetimi
- MRP
Bu soru işaretlendi
1
Cevapla
6441
Görünümler
Ok, so it seems that to set a default snippet option, you have to let its `data-select_class` empty.
Here's an example:
<div data-selector="section" data-js="snippet_foobar">
<li class="dropdown-submenu">
<a href="#">Foobar</a>
<ul class="dropdown-menu">
<li data-select_class="opt-foo">
<a>Foo</a>
</li>
<li data-select_class="opt-bar">
<a>Bar</a>
</li>
<li data-select_class="">
<a>When visible</a>
</li>
</ul>
</li>
</div>Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
1
Ara 19
|
5540 | ||
|
|
1
May 23
|
4723 | ||
|
|
1
Haz 25
|
1711 | ||
|
|
0
Eyl 24
|
2539 | ||
|
|
1
Mar 23
|
3242 |