Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

0
Votes

In the documentation about validation on steps here it states "By default, the isValid property is null." 

However the type declaration for the isValid property on StepModel doesn't allow for that as it's currently:

    isValid?: boolean

... it needs to be a union of boolean and null instead of just boolean.

I found this issue while writing some code in typescript where I want to clear isValid having set it to true previously - setting isValid to "undefined" gets treated as if it were false so it specifically needs to be set to "null" to clear the validation status and as it stands Typescript complains if you do that because of this issue (I had to use a type assertion on the assignment to override the type to also allow null).