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
- 회계
- 재고 관리
- PoS
- 프로젝트
- MRP
신고된 질문입니다
1
회신
6433
화면
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>| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
1
12월 19
|
5528 | ||
|
|
1
5월 23
|
4707 | ||
|
|
1
6월 25
|
1697 | ||
|
|
0
9월 24
|
2521 | ||
|
|
1
3월 23
|
3239 |