Fix styles
Implement disable
Refactor common input logic into inputBase