Pinelab-studio / pinelab-vendure-plugins

Monorepo for different Vendure plugins developed by Pinelab
111 stars 49 forks source link

acceptBlueCustomerId should be nullable #531

Closed mschipperheyn closed 1 week ago

mschipperheyn commented 4 weeks ago

Which plugin/repository is the issue about? accept-blue-plugin Describe the bug acceptBlueCustomerId is not nullable. This creates problems if you try to edit the customer and rendering customFields + validation based on the custom fields configuration

To Reproduce Steps to reproduce the behavior:

  1. Go to Edit Customer
  2. Save with an empty acceptBlueCustomerId
  3. A validation error will ocurr

Expected behavior customField should be nullable (and also readonly, plus have some kind of nice label)

Screenshots If applicable, add screenshots to help explain your problem.

Environment

Additional context We are using our form renderer.