gcanti/tcomb-form

validate as you type?

matthewmueller opened this issue · 2 comments

I feel like this is possible, but I haven't figured it out yet. Basically as you type, check against the domain to see if it's valid?

Given this domain

var user = t.struct({
  firstName: t.String,
  lastName: t.String
}

Is it possible to validate just firstName?

ah there it is – thanks!