Set the floating title independently from the placeholder.

Adding the ability to set the floating title independently from the placeholder.
Can be useful if the placeholder is not exactly what you would use as a title, e.g.:
Placeholder: "Specific Location (optional)"
Floating title: "Specific Location" 
In this case, once the user starts entering a value, then the value is -by definition- not optional anymore.

Also: Code formatting.