Skip to content

Commit

Permalink
primefaces#6125 Fix (DatePicker, Locale) - deep merge options
Browse files Browse the repository at this point in the history
  • Loading branch information
avramz committed Jul 29, 2024
1 parent 81f55da commit d309fd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/config/PrimeVue.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { FilterMatchMode } from '@primevue/core/api';
import BaseStyle from '@primevue/core/base/style';
import PrimeVueService from '@primevue/core/service';
import { inject, reactive, ref, watch } from 'vue';
import { mergeKeys } from '@primeuix/utils';

export const defaultOptions = {
ripple: false,
Expand Down Expand Up @@ -266,7 +267,7 @@ export function setupConfig(app, PrimeVue) {

export default {
install: (app, options) => {
const configOptions = { ...defaultOptions, ...options };
const configOptions = mergeKeys(defaultOptions, options);

setup(app, configOptions);
}
Expand Down

0 comments on commit d309fd6

Please sign in to comment.