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

Support ECProperty value range #779

Open
FelixGirard opened this issue Nov 14, 2024 · 1 comment
Open

Support ECProperty value range #779

FelixGirard opened this issue Nov 14, 2024 · 1 comment
Labels
enhancement New feature or request presentation

Comments

@FelixGirard
Copy link

ECProperty supports adding constraints to values.
https://www.itwinjs.org/bis/ec/ec-property/#additional-optional-attributes

These are not enforced by the ECDb.
They should be enforced by the inputs in the property grid.

To query those, you can use the meta.ECPropertyDef table

@grigasp grigasp added the enhancement New feature or request label Nov 14, 2024
@grigasp
Copy link
Member

grigasp commented Nov 15, 2024

These are not enforced by the ECDb.

@ColinKerr, while I totally agree that editors should respect these attributes for users' convenience, I also think that ECDb should make sure to validate values against them as well.

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

No branches or pull requests

2 participants