Comments (2)
The default behavior would be to use 3 different relationships in your module, with 3 tables, yes.
Laravel allows you to apply scope to relationship definitions though, so you should able to store everything in the same table for those 3 relationships, but with an additional pivot field indicating in which browser it is saved. This will requires some custom logic when saving in afterSave
, but it shouldn't be too complicated. Happy to help if you can share a demo codebase!
from twill.
That issue has never been resolved, still happening for Twill v 2.12
from twill.
Related Issues (20)
- Login form action is rendered to blade and sent in http in an https context HOT 5
- Accessing model data in repeater HOT 2
- TypeError: argument of type 'function' is not iterable HOT 1
- User listing errors when deleting a role
- Multiple JSON repeaters (of the same type) in one form
- FormBuilder Repeaters capable of handling Media through Pivot?
- FormBuilder Inline Repeater doesn't allow for single deletions HOT 1
- [permissions-management] Call to a member function permissions() on string HOT 1
- Cli module creation produces files which do not follow the enable position parameter HOT 3
- Integrity constraint violation: 1048 Column 'active' cannot be null HOT 3
- View not found when run php artisan twill:blocks HOT 3
- Multiple NestedData columns all show final entry's relations. HOT 1
- Repeater number squishes up sometimes when using @twillRepeaterTitleField
- Installation failed HOT 2
- Formbuilder does not allow step() method
- CLI commands to remove modules/blocks/... HOT 1
- $item->ancestorsSlug returns items in reverse order? Issue with HasNesting trait
- Running twill:build when using a custom icon leads to an ErrorException caused by copy function because of missing target directory
- Need Filter In List Page HOT 1
- Different datetime format parsings => format conflicts when using configuration "publish_date_display_format"
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 twill.