Comments (4)
Filament uses Livewire to persist the model. This is Livewire behaviour.
I don't know about the key obfuscation, you should probably report it to Livewire if you expect different behaviour. For the class name, I think you can hide it if you define a morph map entry for that model?
from filament.
Hey @wq9578! We're sorry to hear that you've hit this issue. 💛
However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?
We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.
from filament.
Thank you for providing reproduction steps! Reopening the issue now.
from filament.
Thanks a lot!
Filament uses Livewire to persist the model. This is Livewire behaviour.
I don't know about the key obfuscation, you should probably report it to Livewire if you expect different behaviour.
Reported to Livewire here: livewire/livewire#8141
For the class name, I think you can hide it if you define a morph map entry for that model?
It worked following the instructions at https://laravel.com/docs/11.x/eloquent-relationships#custom-polymorphic-types:
You may call the enforceMorphMap method in the boot method of your App\Providers\AppServiceProvider class or create a separate service provider if you wish.
from filament.
Related Issues (20)
- Custom user menu item not being translated HOT 1
- TextColumn does not resize when other column has `grow()` enabled HOT 1
- ToolTip "bubble" does not conform to its contents HOT 1
- `ImageColumn` clashes with methods on `HasWidth` trait HOT 1
- Unable to install HOT 5
- Modal select field
- Infinite redirect loop HOT 3
- ExportBulkAction Ignoring All But Last Export Type HOT 1
- Markdown editor sometimes not save the data HOT 2
- Navigation Loaded Twice, Causing Badge SQL Query to Run Twice HOT 1
- Page expired (419) on user registration using the FileUpload component HOT 3
- DateTimePicker errors when data has value not matching minutes step HOT 7
- getHeaderWidgetsColumns() not applied to Stats widgets HOT 5
- Source Code duplicates color in style attribute HOT 1
- KeyValue UI not updating while using $set()
- Authorization preventing a custom action from working. HOT 1
- instalation failed HOT 1
- The DateTimePicker does`t show the time box on Firefox browser HOT 1
- Table builder not respecting default Laravel Policy HOT 1
- Subnavigation sidebars do not respect SPA mode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filament.