public function setKategori($idKategori) { $this->dataKategori = KategoriModel::where('id', $idKategori)->first(); }