Comments (3)
At the moment we're thinking about implementing a trait on models that could cast Flexible attributes directly to Collections containing their Layout instances. The only issue I see right now with this is that it'll only work with pre-defined preset fields.
In other words, until we can find a good way to improve the manual data parsing, we'll not update the docs.
But this doesn't mean we're not open to suggestions. Let us know how you're doing it and maybe we can give you some handy advice!
from nova-flexible-content.
I created a merge request for this issue. Duplicate of #19
See merge request #22
from nova-flexible-content.
@MichaelCrowcroft I just added the HasFlexible
trait, which can be added to Models (and nova-page Templates) and will help using this package in your app's views.
The package's README has been updated with some notes on this new trait feature. The full documentation will be updated later.
Cheers!
from nova-flexible-content.
Related Issues (20)
- Dependent Fields not working HOT 4
- Call to undefined method preventsAccessingMissingAttributes() HOT 3
- "Add layout" dropdown overflow HOT 1
- Not working with replicate function HOT 4
- Dark mode issues HOT 2
- Float-left class not working HOT 1
- Nested flexible layout width HOT 1
- Flexible Content Layouts Truncated When Insufficient Form Content Present HOT 1
- Compatiblity issue with spatie/laravel-medialibrary ^11.4.2
- Resource Details view fails to load in Nova 4.32.13 and up HOT 19
- Laravel 11 Support
- Button cover by card
- The flexible-search-menu does not work. HOT 1
- Regression: Delete button is broken HOT 4
- Can't update models with any flexible field HOT 7
- Flexible isn't opening on Detail and Edit page with Nova v3.3 and Laravel 10
- Flexible not work with DependOn HOT 2
- Spatie Medialibrary incompatibility
- MultiSelect Field
- default Layout
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 nova-flexible-content.