score:1

Accepted answer
onChange={(items) => {
  items.forEach((value) =>                                           
  setFieldValue("tags", ...value.value); 
  });
}}

Related Query

More Query from same tag