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

[FEATURE] Ability to select the default concrete type of an abstract class #34

Closed
thewhitewayofdelight opened this issue Aug 25, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@thewhitewayofdelight
Copy link

thewhitewayofdelight commented Aug 25, 2023

Feature destription

Description

Hi, thank you for this very useful package!

I have a suggestion to make the package more convenient to use, by being able to select the default concrete type of an abstract class rather than <null> like the image below (ex: default to DebugCommand). Is that possible? Or is it too complicated and not worth the time.
image

Thanks for your attention

@mackysoft
Copy link
Owner

Hi.

Sorry, the functionality of this library is implemented by an editor extension in CustomPropertyDrawer for Attribute, but it is not possible to implement this functionality because it is difficult to observe the array strictly by PropertyDrawer.

If such functionality is necessary, it would be necessary to observe changes in the length of the array in your component inspector editor extension.

I hope this is helpful !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants