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:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
5703
Tampilan
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>
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Des 19
|
4759 | ||
|
1
Mei 23
|
3968 | ||
|
1
Jun 25
|
998 | ||
|
0
Sep 24
|
1539 | ||
|
1
Mar 23
|
2282 |