Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
5845 Vizualizări

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?

 

 

Imagine profil
Abandonează
Cel mai bun răspuns

Refer the LInk may be help you.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 17
7677
2
nov. 16
6484
1
sept. 15
5144
3
aug. 15
9287
1
iul. 15
8677