dismissKeyboard y spinner->isValid