Skip to content

Commit

Permalink
Merge pull request #1 from AppsDevTeam/vvoody--patch-1
Browse files Browse the repository at this point in the history
forcing control type="text" on input
  • Loading branch information
thorewi authored Jul 8, 2020
2 parents bca7eb0 + 15811e6 commit 03106bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Forms/Controls/CurrencyInput.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,9 +116,9 @@ public function getFormat()
*/
public function getControl(): Html
{
return parent::getControl()->addAttributes([
static::$defaultDataAttributeName => $this->getFormat(),
]);
return parent::getControl()
->addAttributes([static::$defaultDataAttributeName => $this->getFormat()])
->setAttribute('type', 'text');
}

/**
Expand Down

0 comments on commit 03106bc

Please sign in to comment.