Comments (5)
Disclaimer: This comment was automatically generated with AI. It can give some useful hints as to where to look for, but sometimes it can also give very inaccurate answers so takes this with a pinch of salt :).
To implement a textarea for bulk insertion of multi-select options:
-
Modify
SettingsObjectFieldSelectForm
component:- Add a textarea input for bulk option insertion.
- Update the
handleSetOptionAsDefault
andhandleRemoveOptionAsDefault
functions to handle multiple options.
-
Update form rendering:
- Refer to
SettingsDataModelFieldSelectSettingsFormCard
for form rendering logic.
- Refer to
-
Update type selection:
- Refer to
SettingsObjectFieldTypeSelectSection
for handling type selection logic.
- Refer to
This will allow users to input multiple options at once for multi-select fields.
References
from twenty.
@Bonapara FYI
from twenty.
We should add a ⌘⏎
or ⏎
shortcut that adds a new option when typing a value.
from twenty.
@Bonapara interesting, but does not solve the issue. If the user needs to insert 50 options, she still has to do it one by one, even if it's easier with ⏎
.
What's needed is to be able to paste a full list. Either with a textarea, or maybe just capturing the paste event when focus is in the option input, and populate as many new option inputs as needed. That would be even more elegant than a textarea. But it's not obvious, so a tip should make clear that you can paste a list instead of typing it.
from twenty.
@livingstonlarus, thanks for sharing this use case. We won't implement this in the short term, but we'll keep it in mind and turn this issue into a discussion so people can upvote it!
from twenty.
Related Issues (20)
- Feature request - Define filters on relation fields HOT 1
- Make messaging full-message-list-fetch idempotent
- Compact sidebar HOT 2
- Implement Optimistic Rendering on Soft-Delete
- Emails doesn't follow regex pattern in table
- Tab design improvements HOT 2
- Improve relation empty states on record page HOT 2
- Deleted event is not emitted when calling destroyOne
- Email thread action bar UX improvements HOT 4
- Table view - New column design improvements
- Cropped company logos on the Companies Kanban HOT 1
- Kanban card inline field design improvements HOT 1
- Created by should not have left & right margins HOT 2
- Demo login not functioning HOT 1
- Impossible to update soft-deleted record
- Follow-ups after new email invite feature HOT 1
- Disable email invites in the demo environment
- Minor bug : Delete button not visible in light mode HOT 1
- Set a unique constraint on email table in users
- Person avatar is not the same color in emails and calendar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twenty.