TimeTrex/interface/html5/model/SearchField.js

30 lines
584 B
JavaScript
Raw Normal View History

2022-12-13 07:10:06 +01:00
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 );
}
}