Skip to content

Commit

Permalink
MERGE: Merge branch '2.0' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
kdambekalns committed Apr 12, 2017
2 parents 190697d + 85733d4 commit 3c8468b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Classes/ViewHelpers/Form/DatePickerViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

use Neos\Flow\Annotations as Flow;
use Neos\Flow\Utility\Algorithms;
use Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper;

/**
Expand Down Expand Up @@ -74,7 +75,7 @@ public function render($dateFormat = 'Y-m-d', $enableDatePicker = true)
if ($this->hasArgument('id')) {
$id = $this->arguments['id'];
} else {
$id = 'field' . md5(uniqid());
$id = 'field' . md5(Algorithms::generateRandomString(13));
$this->tag->addAttribute('id', $id);
}
$this->setErrorClassAttribute();
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
"Neos\\Form\\": "Classes"
}
},
"suggest": {
"neos/swiftmailer": "The EmailFinisher needs this to be useable"
},
"extra": {
"branch-alias": {
"dev-master": "4.0.x-dev"
Expand Down

0 comments on commit 3c8468b

Please sign in to comment.