select inputs instead of the direct element
Merge pull request #2 from RVMendoza/patch-2

select inputs instead of the direct element