it didn’t work, I thought it was because of the dots in the string (F.P.T.P), then I changed their values to int numbers and I faced the following error:
Fatal error: Uncaught TypeError: Argument 2 passed to PW_CMB2_Field_Select2::sort_array_by_array() must be of the type array, string given, called in C:\xampp\htdocs\villela\wp-content\plugins\cmb-field-select2-master\cmb-field-select2.php on line 88 and defined in C:\xampp\htdocs\villela\wp-content\plugins\cmb-field-select2-master\cmb-field-select2.php:120 Stack trace: #0 C:\xampp\htdocs\villela\wp-content\plugins\cmb-field-select2-master\cmb-field-select2.php(88): PW_CMB2_Field_Select2->sort_array_by_array(Array, '1') #1 C:\xampp\htdocs\villela\wp-content\plugins\cmb-field-select2-master\cmb-field-select2.php(69): PW_CMB2_Field_Select2->get_pw_multiselect_options('1', Object(CMB2_Types)) #2 C:\xampp\htdocs\villela\wp-includes\class-wp-hook.php(288): PW_CMB2_Field_Select2->render_pw_multiselect(Object(CMB2_Field), '1', '9', 'user', Object(CMB2_Types)) #3 C:\xampp\htdocs\villela\wp-includes\class-wp-hook.php(312): WP_Hook->apply_filters('', Array) #4 C:\xampp\htdocs\villela\wp-includes\plugin.php(478): WP_Hook->do_action( in C:\xampp\htdocs\villela\wp-content\plugins\cmb-field-select2-master\cmb-field-select2.php on line 120
Only using :: as separators doesn’t seem to be working properly.
However, as you can see in this image: https://i.imgur.com/qDJIFNh.gif, the values are being stored correctly but there’s something missing preventing it to proceed with the other fields.