Fixing a few errors, adding support for attributedPlaceholder

I click the X button in the sample app in your fork, and I get the exact same type of animation. It fades out as it drops down into the textfield's placeholder.