Skip to content

Commit

Permalink
fix: fix bug with 4.19 including the fields value with dependentField…
Browse files Browse the repository at this point in the history
…Values
  • Loading branch information
ianrobertsFF committed Dec 29, 2022
1 parent 08e1ebb commit 12934ce
Show file tree
Hide file tree
Showing 3 changed files with 9,370 additions and 3 deletions.
39 changes: 38 additions & 1 deletion dist/css/field.css
Original file line number Diff line number Diff line change
@@ -1 +1,38 @@
.flexible-search-menu-multiselect{--ms-font-size:0.875rem;--ms-option-font-size:0.875rem;--ms-ring-color:rgb(var(--colors-primary-100));--ms-border-color:rgb(var(--colors-gray-300))}html.dark .flexible-search-menu-multiselect{--ms-ring-color:rgb(var(--colors-gray-700));--ms-border-color:rgb(var(--colors-gray-700));--ms-dropdown-border-color:var(--ms-border-color);--ms-bg:rgb(var(--colors-gray-900));--ms-dropdown-bg:var(--ms-bg);--ms-option-bg-pointed:rgb(var(--colors-gray-700));--ms-option-color-pointed:rgb(var(--colors-gray-400))}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgba(var(--colors-gray-50),var(--tw-bg-opacity))}.dark .dark\:hover\:bg-gray-900:hover{--tw-bg-opacity:1;background-color:rgba(var(--colors-gray-900),var(--tw-bg-opacity))}.nova-flexible-content-sortable-ghost{opacity:.5}.nova-flexible-content-sortable-drag{background-color:rgba(var(--colors-gray-100),var(--tw-bg-opacity));border-radius:10px}.dark .nova-flexible-content-sortable-drag{background-color:rgba(var(--colors-gray-900),var(--tw-bg-opacity))}
.flexible-search-menu-multiselect {
--ms-font-size: 0.875rem;
--ms-option-font-size: 0.875rem;
--ms-ring-color: rgb(var(--colors-primary-100));
--ms-border-color: rgb(var(--colors-gray-300));
}
html.dark .flexible-search-menu-multiselect {
--ms-ring-color: rgb(var(--colors-gray-700));
--ms-border-color: rgb(var(--colors-gray-700));
--ms-dropdown-border-color: var(--ms-border-color);
--ms-bg: rgb(var(--colors-gray-900));
--ms-dropdown-bg: var(--ms-bg);
--ms-option-bg-pointed: rgb(var(--colors-gray-700));
--ms-option-color-pointed: rgb(var(--colors-gray-400));
}

.hover\:bg-gray-50:hover {
--tw-bg-opacity: 1;
background-color: rgba(var(--colors-gray-50), var(--tw-bg-opacity));
}

.dark .dark\:hover\:bg-gray-900:hover {
--tw-bg-opacity: 1;
background-color: rgba(var(--colors-gray-900), var(--tw-bg-opacity));
}

.nova-flexible-content-sortable-ghost {
opacity: 0.5;
}

.nova-flexible-content-sortable-drag {
background-color: rgba(var(--colors-gray-100), var(--tw-bg-opacity));
border-radius: 10px;
}

.dark .nova-flexible-content-sortable-drag {
background-color: rgba(var(--colors-gray-900), var(--tw-bg-opacity));
}
9,329 changes: 9,327 additions & 2 deletions dist/js/field.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions resources/js/components/FormField.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ export default {
components: { FullWidthField },
computed: {
dependentFieldValues() {
return this.watchedFields
},
layouts() {
return this.currentField.layouts || false
},
Expand Down

0 comments on commit 12934ce

Please sign in to comment.