30 lines
584 B
JavaScript
30 lines
584 B
JavaScript
import { Base } from '@/model/Base';
|
|
|
|
export class SearchField extends Base {
|
|
constructor( options = {} ) {
|
|
_.defaults( options, {
|
|
label: null,
|
|
field: null,
|
|
api_class: null,
|
|
layout_name: '',
|
|
multiple: true,
|
|
optionName: '',
|
|
form_item_type: '',
|
|
in_column: 1,
|
|
basic_search: false,
|
|
adv_search: false,
|
|
tree_mode: false,
|
|
data_provider: null,
|
|
script_name: '',
|
|
addition_source_function: null,
|
|
set_any: true,
|
|
object_type_id: -1,
|
|
customSearchFilter: null,
|
|
custom_first_label: null,
|
|
default_args: null
|
|
} );
|
|
|
|
super( options );
|
|
}
|
|
}
|