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

Commit

Permalink
Add input type text for phone numner number input
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrtak-CZ committed Jun 19, 2014
1 parent 9e65edd commit 34f6c8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Nella/Forms/Controls/PhoneNumberInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ public function getControlPart($key)
} elseif ($key === static::NAME_NUMBER) {
$control = \Nette\Utils\Html::el('input')->name($name . '[' . static::NAME_NUMBER . ']');
$control->value($this->number);
$control->type('text');

if ($this->disabled) {
$control->disabled($this->disabled);
Expand Down

0 comments on commit 34f6c8d

Please sign in to comment.