Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5739 Tampilan

There is no way for me to hide a field in the method fields_view_get, I tried all the possible ways to set invisible to the field, none of them worked (attrs, modifiers, invisible directly, invisible inside the tag.)

            for node in doc.xpath("//field[starts-with(@name, 'module_')]"):
                node.set('invisible', '1')  //don't work
                node.set('attrs', '{"invisible": 1 }') //don't work

What is my mistake here?

 

 

Avatar
Buang
Jawaban Terbai

Refer the LInk may be help you.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Des 17
7539
2
Nov 16
6342
1
Sep 15
4999
3
Agu 15
9125
1
Jul 15
8566