Lara-Crud
Package for quick deployment admin panel on Laravel
Home
Documentation
textLimit()
tableRowsRenderCollback()
tableJoin()
stateSave()
showEntries()
showChildRows()
setWhere()
setValueDefault()
setTypeField()
setTitle()
setOrderFixed()
setModelCollback()
setDefaultSelected()
setColumnIndividualSearch()
setClassForm()
setBeforeModelFormCollback()
searchDisable()
searchConfig()
saveRedirect()
renderCustom()
formShow()
fieldShow()
fieldOrderByDisable()
fieldOrderBy()
fieldName()
fieldAttribute()
enableEditor()
enableDragAndDrop()
disablePaginate()
disableAjaxLoadData()
columnColorWhere()
buttonSave()
buttonGroupDelete()
buttonEdit()
buttonDelete()
buttonCopy()
buttonAdd()
beforeUpdate()
beforeShowFormCollback()
beforeInsert()
beforeDelete()
alertDelete()
ajaxBeforeLoadSelect()
afterUpdate()
afterInsert()
afterDelete()
addViewsCustomTop()
addFieldTitle()
addFieldPlaceholder()
addFieldClass()
addColumn()
addAction()
_afterUpdate()
Validation()
Tooltip()
The method takes an array where the default selection values for the select fields are defined.
$this->setDefaultSelected(
array
$array)
Example: $this->setDefaultSelected(['user_id' => 2]);