FormField variation for the PinInputTextField
Closed this issue · 6 comments
alyyasser commented
IMO, it would be good to have the FormField variation, which can add support for validator
, and onSaved
, also validate()
, and save()
method from GlobalKey.currentState
TinoGuo commented
It's really good advice, would you like to pull request?
alyyasser commented
well, i'll try, since i need it for my current project. will do the PR once it's done
TinoGuo commented
Perfect
alyyasser commented
it turns out i need to modify the Decorations implementation too, to be able to render the error message (validation result), is it okay for you?
TinoGuo commented
Sure, but it is optional not required.