Skip to content

Commit

Permalink
Merge pull request #6685 from kuzmany/form-phone-placeholder
Browse files Browse the repository at this point in the history
Add placeholder to phone field type
  • Loading branch information
escopecz committed Oct 9, 2018
2 parents 80d377a + aecf614 commit b2c685d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/bundles/FormBundle/Form/Type/FieldType.php
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,14 @@ public function buildForm(FormBuilderInterface $builder, array $options)
'data' => $propertiesData,
]
);
$builder->add(
'properties',
'formfield_placeholder',
[
'label' => false,
'data' => $propertiesData,
]
);
break;
}
}
Expand Down

0 comments on commit b2c685d

Please sign in to comment.