forked from thedevdojo/voyager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix save bread when ajax calls are not done (thedevdojo#4716)
* WIP - Fix save bread when ajax calls are not done Every relationship set in BREAD made three ajax calls to collect table fields. In a BREAD with many relationship and/or slow server this could result in some relationship not correctly populated when hitting Submit button. This PR prepopulate selects with already saved values, since we have it, and leaves ajax call only when table is changed or modal is opened. Fixes thedevdojo#3960 TODO: Fix select width in modal * Fix styling Co-authored-by: Christoph Schweppe <[email protected]>
- Loading branch information
Showing
3 changed files
with
32 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters