Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add documentation for using form-type #42

Conversation

floriansemm
Copy link

No description provided.


To use phonenumbers in your forms just add the `PhoneNumberType`:

$builder->add('phoneNumber', new PhoneNumberType(), array(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should use the registered form type service here instead.

@floriansemm
Copy link
Author

@xabbuh my last commit should fix the two "defects" you mentioned.

@thewilkybarkid
Copy link
Contributor

Thanks, but forms are actually there already...

It's would probably be a good idea to break the README up into separate doc files.

Nek- pushed a commit to Nek-/phone-number-bundle that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants