Fixing a few errors, adding support for attributedPlaceholder

I needed attributedPlaceholder for styling purposes, hence these changes