2016-11-25 16:10:37 +00:00
|
|
|
module Import
|
|
|
|
module OTRS
|
|
|
|
class DynamicField
|
|
|
|
class TextArea < Import::OTRS::DynamicField
|
|
|
|
def init_callback(dynamic_field)
|
|
|
|
@attribute_config.merge!(
|
|
|
|
data_type: 'textarea',
|
|
|
|
data_option: {
|
|
|
|
default: dynamic_field['Config']['DefaultValue'],
|
|
|
|
rows: dynamic_field['Config']['Rows'],
|
2017-08-23 14:41:01 +00:00
|
|
|
null: true,
|
2016-11-25 16:10:37 +00:00
|
|
|
}
|
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|