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

Is it possible to change the icon on a button field in a view depending on the value of another filed.

<xpath expr="//tree/field[@name='name']" position="after">
<button icon="fa-file-text-o" name="action_edit_note" type="object"
attrs="{'invisible': [('state', '!=', 'draft')]}"/>
</xpath>
아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
5380
4
1월 24
23244
Attrs attribute 해결 완료
2
1월 24
2547
0
8월 23
2348
2
3월 23
10176