-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we set Stereotype as a dropdown menu? #16005
Comments
The issue is that stereotypes are by convention, and there's no list of the ones available currently. We could have a combobox suggesting the usual ones like you mention (or at least have them documented in a hint below it), but those values wouldn't always do something (since they depend on the currently enabled features). |
I was thinking about that in the past, @Piedone even the are by convention we can populate the once that we use in the source and well documents, also we could add ability to register a new one If this might be helpful which I think I can submit a PR |
We could have a list of string in a content manager options object where feature can add custom values for supported stereotypes. Maybe even a class with a translated description. Keep the textbox though, and some autocomplete for hints. |
My idea is to add a textbox with autocomplete as Seb mentioned, I didn't think about translated description but it's good addition |
@hishamco @Skrypt I've noticed that you guys do a lot of VUE-related contributions, are there any plans to release such a component library? Here's a low-code framework from |
Well, HTML comes with an autocomplete feature. |
Exactly, my aim is to use a textbox with autofill using datalist element |
BTW @hyzx86 I noticed a draft PR, while I assigned this issue to me, so to save time and avoid duplicating the work if you want to handle this let me know so I can unassign myself from this issue |
You mean #106025, but I hope the second time you check if the issue is assigned by someone else or not to save time |
但是还没完成,关于如何添加模块中已定义的 Stereotype ,我想听听你们的建议 I noticed that there is a default implementation here, but it's based on the types that have already been created, and the list is blank if it's a new tenant I plan to tweak this function to internally generate a HasSet to avoid duplicate values, and then add an implementation of IStereotypesProvider to a different module such as I'm just wondering if it's worth it. Why not use @MikeAlhayek , I see that you added this feature. Do you have a better suggestion about the realization of this?😊 |
Is your feature request related to a problem? Please describe.
Now , the Stereotype is a text box, which is not user-friendly when making changes.
For example, I can't always figure out if it's
UserCustomSettings
orCustomUserSettings
🤣Describe the solution you'd like
Maybe we have some way to get all the Stereotypes that are currently supported by the system, and then list them.
The text was updated successfully, but these errors were encountered: