mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00: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
12e8c675ff
commit
4cc811d1c0
@ -566,7 +566,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…
x
Reference in New Issue
Block a user