{{ trans('messages.operation.tag_contact.desc') }}
@include('helpers.form_control', [ 'type' => 'select_tag', 'class' => '', 'label' => '', 'name' => 'options[tags][]', 'value' => isset($element) ? $element->getOption('tags') : [], 'help_class' => 'trigger', 'options' => array_map(function($tag) { return ['text' => $tag, 'value' => $tag]; }, isset($element) ? $element->getOption('tags') : [] ), 'rules' => ['tags' => 'required'], 'multiple' => 'true', 'placeholder' => trans('messages.automation.contact.choose_tags'), 'rules' => ['options.tags' => 'required'], ])