Fixing a few errors, adding support for attributedPlaceholder

ok, I confirmed that this issue exists. Checking your solution now.