Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
331 Lượt xem

Hi !!!

who knows how to use this.field_manager.set_values????

Please i need an answer please.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

this:

current method or class

field_manager:

The field_manager attribute is in fact the FormView instance representing the form view.

set_values():

This method takes a dictionary as first and only argument whose keys are the names of the fields to change and values are the new values.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Thanks a lot for your answer :)

Can you give me a simple example please

Ảnh đại diện
Huỷ bỏ