mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUG Fix the date field conditional to work with dropdown.
In this case they keyup will not be triggered at all.
This commit is contained in:
parent
1fa4c2d81d
commit
eb1b9b62cd
@ -560,7 +560,7 @@ JS
|
|||||||
// @todo encapulsation
|
// @todo encapulsation
|
||||||
$action = "change";
|
$action = "change";
|
||||||
|
|
||||||
if($formFieldWatch->ClassName == "EditableTextField" || $formFieldWatch->ClassName == "EditableDateField") {
|
if($formFieldWatch->ClassName == "EditableTextField") {
|
||||||
$action = "keyup";
|
$action = "keyup";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user