Is there a proper way to remove placeholders for form fields?
If I don’t assign any placeholder, it defaults to the field label from the model.
Currently I use:
array('placeholder'=>' ')
so it uses a whitespace as placeholder, but it’s ugly.
If I use an empty string
array('placeholder'=>'')
it defaults to the field label. Same result for null
array('placeholder'=>null)
Is there a proper way to have a blank placeholder?