number type click-to-edit directive valid value and throw out invalids