adding :input selector otherwise it wont work with selects and textareas