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

Additional Custom Attribute Autocomplete Constraint #1841

Open
sbatchelder opened this issue Oct 2, 2024 · 0 comments
Open

Additional Custom Attribute Autocomplete Constraint #1841

sbatchelder opened this issue Oct 2, 2024 · 0 comments

Comments

@sbatchelder
Copy link
Contributor

The ability to autocomplete str type custom attributes based on a LeafType is good, but can still allow for errors or mispellings. It also doesn't allow for a dropdown of possible valid options to be viewed during assignment.

I propose either

  1. an additional constraint option that prevents saving (shows an error) if the entered text is does not have a LeafType Leaf match.
  2. A new enum type/option that sources the enum values directly from a LeafType, where the enum value is the leaf path and the enum label is the leaf name.
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

No branches or pull requests

1 participant