Angular function

prepareFormItems source

It looks up fields of schema objects and changes their types to proper type for schemaform. To prepare items for schemaform loop items of scope.schema.properties by checking index value's type key.

If type is in ['file', 'select', 'submit', 'date', 'int', 'text_general', 'model', 'ListNode', 'Node'] then the item must be converted into the data format which schemaform works with.

For listnode, node and model types it uses templates to generate modal. The modal is aa instance of ui.bootstraps modal directive.

Dependencies:
NameTypeDescription
scope Object

given scope on which form items prepared