lynndigital/select-or-custom
Laravel package that adds a select-or-custom form field: users can pick from a predefined list of options or type their own value instead, with validation covering both the chosen option and any custom text they enter.
enum + nullable free-text pair. Cheaper migrations, simpler queries, easier exports. The tradeoff is lost referential integrity and no per-value metadata — a conscious choice, not an accident.Adopt when:
Look elsewhere or build it yourself when:
Executives: "One form field instead of two admin screens. It unblocks an onboarding flow and lets us delay the taxonomy management screen instead of building it now — roughly a day of build saved, no user-visible downside, and it's trivially removable."
Engineering: "A Nova field that renders a select plus a free-text escape hatch and stores a single string. Presentation layer only, so blast radius is low. Caveat: it's a 10-star package with no dependents and a weak health score — pin it and vendor it, or plan to reimplement in an afternoon. Do not let it become load-bearing."
Recommendation: Adopt as a one-day evaluation spike. If it doesn't integrate cleanly with your Nova version, write the field in-house. Never take a dependency you can't drop in an afternoon.
How can I help you explore Laravel packages today?