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

Validation for PropertyFieldCollectionData #74

Closed
1 of 3 tasks
niranjan747 opened this issue Jun 13, 2018 · 4 comments
Closed
1 of 3 tasks

Validation for PropertyFieldCollectionData #74

niranjan747 opened this issue Jun 13, 2018 · 4 comments
Assignees

Comments

@niranjan747
Copy link

niranjan747 commented Jun 13, 2018

Category

  • Enhancement
  • Bug
  • Question

Version

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

Expected / Desired Behavior / Question
I want to perform some validations on Collection Data, for this i require callback option for validation of Collection Data. Either of onGetErrorMessage or onPropertyChange would help. These properties are available in some of the controls such as listPickers fieldPicker etc..

Would appreciate any help on how to get these properties for PropertyFieldCollectionData as well.

Thanks!

@estruyf
Copy link
Member

estruyf commented Jun 14, 2018

@niranjan747 Thank you for testing out the controls. This could indeed be a good enhancement.

@splearner
Copy link

Kindly help me out to validate the URL in collection Data.

@estruyf
Copy link
Member

estruyf commented Aug 8, 2018

Custom validation is coming for the string, number, icon and URL fields.

collectiondata-validation

@estruyf estruyf self-assigned this Aug 8, 2018
estruyf added a commit that referenced this issue Aug 8, 2018
@estruyf
Copy link
Member

estruyf commented Aug 9, 2018

This will be available as of version 1.9.0. The beta can already be tested: https://sharepoint.github.io/sp-dev-fx-property-controls/beta/

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

3 participants