**Description** Fixes the "Add new" button appearing in relation picker dropdowns for workspace member relations (e.g., Account Owner on companies). Workspace members cannot be created from relation pickers, so this button should not appear. **Changes Made** - Modified RelationManyToOneFieldInput.tsx to conditionally pass the onCreate prop to SingleRecordPicker only when createNewRecordAndOpenRightDrawer is defined. - Moved the conditional check to the JSX level for clarity. **Technical Details** The useAddNewRecordAndOpenRightDrawer hook already returns undefined for workspace member relations, but the component was still passing a handler function to SingleRecordPicker, causing the "Add new" button to appear. The fix ensures that when createNewRecordAndOpenRightDrawer is undefined, onCreate is also undefined, which prevents SingleRecordPickerMenuItemsWithSearch from rendering the button. Testing - Verified that the "Add new" button no longer appears in the Account Owner dropdown for companies. - Confirmed that the "Add new" button still appears for other relation fields where it's appropriate (e.g., People, Opportunities). - Tested that existing functionality for selecting workspace members from the dropdown still works correctly. Fixes #17060
The #1 Open-Source CRM
🌐 Website · 📚 Documentation · Roadmap ·
Discord ·
Figma
Installation
See: 🚀 Self-hosting 🖥️ Local Setup
Does the world need another CRM?
We built Twenty for three reasons:
CRMs are too expensive, and users are trapped. Companies use locked-in customer data to hike prices. It shouldn't be that way.
A fresh start is required to build a better experience. We can learn from past mistakes and craft a cohesive experience inspired by new UX patterns from tools like Notion, Airtable or Linear.
We believe in Open-source and community. Hundreds of developers are already building Twenty together. Once we have plugin capabilities, a whole ecosystem will grow around it.
What You Can Do With Twenty
Please feel free to flag any specific needs you have by creating an issue.
Below are a few features we have implemented to date:
- Personalize layouts with filters, sort, group by, kanban and table views
- Customize your objects and fields
- Create and manage permissions with custom roles
- Automate workflow with triggers and actions
- Emails, calendar events, files, and more
Personalize layouts with filters, sort, group by, kanban and table views
Customize your objects and fields
Create and manage permissions with custom roles
Automate workflow with triggers and actions
Emails, calendar events, files, and more
Stack
- TypeScript
- Nx
- NestJS, with BullMQ, PostgreSQL, Redis
- React, with Recoil, Emotion and Lingui
Thanks
Thanks to these amazing services that we use and recommend for UI testing (Chromatic), code review (Greptile), catching bugs (Sentry) and translating (Crowdin).
Join the Community
- Star the repo
- Subscribe to releases (watch -> custom -> releases)
- Follow us on Twitter or LinkedIn
- Join our Discord
- Improve translations on Crowdin
- Contributions are, of course, most welcome!




