Skip to content

Commit

Permalink
Merge pull request #6 from Ciki/patch-1
Browse files Browse the repository at this point in the history
disable autocomplete
  • Loading branch information
hrach authored Jan 18, 2022
2 parents 33b93a0 + 52b54c4 commit fa99238
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Controls/DateTimeControlPrototype.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function getControl(): Html
{
$control = parent::getControl();
$control->type = $this->htmlType;
$control->autocomplete('off');
$control->addClass($this->htmlType);

list($min, $max) = $this->extractRangeRule($this->getRules());
Expand Down

0 comments on commit fa99238

Please sign in to comment.