avoid field_text warning

we still have to check if the placeholder is set to avoid warnings
I guess this is related to #1412