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

PropertyFieldNumber: validation does not work as expected #572

Open
1 of 3 tasks
katehellomartin opened this issue Jun 8, 2023 · 1 comment
Open
1 of 3 tasks

Comments

@katehellomartin
Copy link

katehellomartin commented Jun 8, 2023

Thank you for reporting an issue, suggesting an enhancement, or asking a question. We appreciate your feedback - to help the team understand your
needs please complete the below template to ensure we have the details to help. Thanks!

Please check out the documentation to see if your question is already addressed there. This will help us ensure our documentation is up to date.

Category

  • Enhancement
  • Bug
  • Question

Version

Please specify what version of the library you are using: [3.13.0]

Expected / Desired Behavior / Question

The PropertyFieldNumber control does not work as expected, link to the documentation https://pnp.github.io/sp-dev-fx-property-controls/controls/PropertyFieldNumber/. I copied the standard configuration without additional onGetErrorMessage property. The validation works if I enter 'hello123', and it reacts with the error "The value should be a number, actual is: hello123." but if I enter '123hello' it does not throw any error. Is it a bug?

@ghost
Copy link

ghost commented Jun 8, 2023

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant