mirror of
https://github.com/opnsense/docs.git
synced 2026-05-28 04:02:12 -04:00
Development - ModelRelationField. add documentation for display_format field. closes https://github.com/opnsense/docs/issues/394
This commit is contained in:
parent
9076705a57
commit
bc854e83f5
1 changed files with 2 additions and 0 deletions
|
|
@ -340,6 +340,8 @@ Define relations to other nodes in the model, such as to point the attribute :co
|
|||
:widths: 30, 20, 40
|
||||
|
||||
"default", ":code:`text`", "Default value for new attributes"
|
||||
"display", ":code:`text`", "Comma separated list of fields to display"
|
||||
"display_format", ":code:`text`", ":code:`vsprintf()` format string"
|
||||
"Required", "Y,N", "Mark field as required"
|
||||
"ValidationMessage", ":code:`text`", "Error message on validation failure"
|
||||
"BlankDesc", ":code:`text`", "Set a label for the empty option"
|
||||
|
|
|
|||
Loading…
Reference in a new issue