Skip to content
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

Attribute hint for Type widget narrowing #7345

Closed
MrBrax opened this issue Jan 7, 2025 · 1 comment
Closed

Attribute hint for Type widget narrowing #7345

MrBrax opened this issue Jan 7, 2025 · 1 comment
Assignees

Comments

@MrBrax
Copy link

MrBrax commented Jan 7, 2025

What can't you do?

Would be useful to have an attribute for when you have a [Property] with a Type to be narrowed down to a single type and its derivatives.

In my game resource, I use a Type property to store its DTO, but every time I need to change it to the only type and derivatives that work with it, I have to either search or go through this large menu.

Image

How would you like it to work?

Probably an attribute of some kind

What have you tried?

Can't do anything

Additional context

No response

@Guilhem-Pech
Copy link

Oh, that would be nice.
I also needed that so I made my own controlwidget and an attribute TypePicker(baseType, onlyConcrete) but an "official" would be better

@github-project-automation github-project-automation bot moved this from To triage to Done in s&box tracker Jan 8, 2025
@CarsonKompon CarsonKompon self-assigned this Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

3 participants