elementor select2 control
$this->add_control(
'show_elements',
[
'label' => __( 'Show Elements', 'plugin-domain' ),
'type' => \Elementor\Controls_Manager::SELECT2,
'multiple' => true,
'options' => [
'title' => __( 'Title', 'plugin-domain' ),
'description' => __( 'Description', 'plugin-domain' ),
'button' => __( 'Button', 'plugin-domain' ),
],
'default' => [ 'title', 'description' ],
]
);