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

Cache the previous field parent element when creating inspectors #11

Open
Varneon opened this issue Apr 24, 2023 · 0 comments
Open

Cache the previous field parent element when creating inspectors #11

Varneon opened this issue Apr 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Varneon
Copy link
Owner

Varneon commented Apr 24, 2023

Current version of VInspector requires FieldParentElement attribute to be defined on every field.

Caching the previous parent element attribute would make them function more like Header attributes, also making it easier to migrate from default header attributes to field parent element attributes.

The chain of fields parented to a certain element should be able to be broken with [FieldParentElement(null)], which reverts the cached parent back to default inspector element.

@Varneon Varneon added the enhancement New feature or request label Apr 24, 2023
@Varneon Varneon self-assigned this Apr 24, 2023
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

1 participant