The Problem
- Cannot get values from the enum to make a select control
- Web cannot access Prisma client types
- Enum values don't have friendly, readable labels
Current Scaffolding
Scaffolding will render enums in forms with Radio Options or Checkboxes.
- But, scaffolding won't pickup new enums .... you would have to re-scaffold and force update the web components.
- Plus, select fields take up less space in a form.
Solution and Demo
Let's look at some Star Wars characters and spaceships and what episodes they appear in.