Relationship field

relationship({
  label: string;
  collection: string;
  validation?: {
    isRequired?: IsRequired;
  };
  description?: string;
})
⚠️

The collection string must match one of the keys used in the collections config object.