BUG: Fix ENTER not triggering form save button as GridFields used submit type buttons

This commit is contained in:
bergice 2018-10-16 18:49:51 +13:00
parent 7915fe0c0f
commit a6a1743997

View File

@ -101,6 +101,7 @@ class GridField_FormAction extends FormAction
// will strip it from the requests
'name' => 'action_gridFieldAlterAction' . '?' . http_build_query($actionData),
'data-url' => $this->gridField->Link(),
'type' => "button",
)
);
}