Last updated 3 years ago
Was this helpful?
Form attributes related to form buttons
The default values are set in the file
protected function formAttr(): array { return [ 'showSave' => true, 'showDelete' => true, 'showReset' => true, 'showGoBack' => true, 'saveStayBtnTxt' => 'tf::form.save-and-stay', 'saveBackBtnTxt' => 'tf::form.save-go-back', 'onKeyDownEnter' => 'saveAndStay', //method to run on form submit ] }