Open puzzledmonkey opened 2 years ago
Hi, excellent field thanks.
However, with a small update, it works with encrypted fields too:
protected function isJsonCastable($model) { return $model->hasCast($this->name, ['array', 'json', 'object', 'collection', 'encrypted:array', 'encrypted:json', 'encrypted:object', 'encrypted:collection']); }
Hi, excellent field thanks.
However, with a small update, it works with encrypted fields too: