2
0
mirror of https://github.com/opnsense/docs synced 2024-10-30 21:20:20 +00:00

Development/ArrayField - add note for 3408cbf661 (getStaticChildren())

This commit is contained in:
Ad Schellevis 2023-07-03 17:48:26 +02:00
parent 470ff9702c
commit 9ea2587fae

View File

@ -28,6 +28,11 @@ The basic field type to describe a container of objects, such as a list of addre
This type can't be nested, only one level of ArrayField types is supported, you can use ModelRelationField to
describe master-detail constructions.
.. Tip::
In case a model needs static (non persistent) records, the :code:`getStaticChildren()` method may be implemented
to spawn static entries. See also the custom field chapter for implementation scenarios.
AuthGroupField
------------------------------------