Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
rename PhoneNumber to PhoneNumberInput
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrtak-CZ committed Jun 19, 2014
1 parent d2153ee commit 9e65edd
Show file tree
Hide file tree
Showing 4 changed files with 504 additions and 485 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ Usage
```php

$form = new \Nette\Forms\Form;
$form->addComponent(new \Nella\Forms\Controls\PhoneNumber('Phone'), 'phone');
$form->addComponent(new \Nella\Forms\Controls\PhoneNumberInput('Phone'), 'phone');

// or

\Nella\Forms\Controls\PhoneNumber::register();
\Nella\Forms\Controls\PhoneNumberInput::register();
$form->addPhone('phone', 'Phone');

// Optional phone numnber validation
Expand Down
Loading

0 comments on commit 9e65edd

Please sign in to comment.