Prevents doubling up of dataset
This commit is contained in:
parent
8d93c9ffab
commit
44b037c21c
|
|
@ -138,6 +138,8 @@ class DataTable extends FormWidgetBase
|
|||
// all records at once. -ab
|
||||
|
||||
$records = $this->getLoadValue() ?: [];
|
||||
|
||||
$dataSource->purge();
|
||||
$dataSource->initRecords((array) $records);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue