Skip to content

Add an option to TypeDropDownAttribute to filter by the base type#67

Merged
v0lt13 merged 3 commits intov0lt13:mainfrom
Danny-vD:main
Feb 21, 2026
Merged

Add an option to TypeDropDownAttribute to filter by the base type#67
v0lt13 merged 3 commits intov0lt13:mainfrom
Danny-vD:main

Conversation

@Danny-vD
Copy link
Copy Markdown
Contributor

Added an overload to the TypeDropDownAttribute to also allow filtering by type.
And slightly modified how the typeCollection is retrieved in TypeDropDownAttribute to actually use it.

The respective documentation has not been updated yet.

@v0lt13
Copy link
Copy Markdown
Owner

v0lt13 commented Feb 20, 2026

Can you put the type parameter as an optional parameter in the first constructor just so we can keep it 1 constructor

@Danny-vD
Copy link
Copy Markdown
Contributor Author

Absolutely.
I kept the order of (string, type) so as not to break existing usages.

@v0lt13 v0lt13 merged commit e02aacb into v0lt13:main Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants