コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5877 ビュー

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?

 

 

アバター
破棄
最善の回答

Refer the LInk may be help you.

アバター
破棄
関連投稿 返信 ビュー 活動
1
12月 17
7690
2
11月 16
6499
1
9月 15
5156
3
8月 15
9311
1
7月 15
8707