enisn / Xamarin.Forms.InputKit

CheckBox, Radio Button, Labeled Slider, Dropdowns etc.
MIT License
579 stars 98 forks source link

Fix initial validation state #341

Closed crobibero closed 1 year ago

crobibero commented 1 year ago

This fixes an issue where if the user never submits an invalid form the IsValid property is never updated.

Sample repo: https://github.com/crobibero/input-kit-validation

Steps to reproduce:

  1. Enter anything into entry
  2. Submit
  3. Notice "Not valid"
  4. Clear entry
  5. Submit
  6. Notice "Is valid"
enisn commented 1 year ago

Thanks for your contribution, it makes sense and very useful change.