Skip to content

Commit

Permalink
add fieldsetOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
spck-io committed Jun 2, 2020
1 parent 7a63617 commit b25a688
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/spck-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -9157,9 +9157,9 @@ window.UI = window.ui = (function (exports, window, UIkit) {
fieldsets: function (value) {
assertPropertyValidator(value, 'fieldsets', isArray);
var self = this;

var fieldsetOptions = self.config.fieldsetOptions || {};
value.forEach(function (config) {
var ui = exports.new(config, self.el);
var ui = exports.new(extend(config, fieldsetOptions), self.el);
self.$fieldsets.push(ui);
self.$components.push(ui);
});
Expand Down
2 changes: 1 addition & 1 deletion dist/spck-ui.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/spck-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -9157,9 +9157,9 @@ window.UI = window.ui = (function (exports, window, UIkit) {
fieldsets: function (value) {
assertPropertyValidator(value, 'fieldsets', isArray);
var self = this;

var fieldsetOptions = self.config.fieldsetOptions || {};
value.forEach(function (config) {
var ui = exports.new(config, self.el);
var ui = exports.new(extend(config, fieldsetOptions), self.el);
self.$fieldsets.push(ui);
self.$components.push(ui);
});
Expand Down
4 changes: 2 additions & 2 deletions src/spck-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -4693,9 +4693,9 @@ window.UI = window.ui = (function (exports, window, UIkit) {
fieldsets: function (value) {
assertPropertyValidator(value, 'fieldsets', isArray);
var self = this;

var fieldsetOptions = self.config.fieldsetOptions || {};
value.forEach(function (config) {
var ui = exports.new(config, self.el);
var ui = exports.new(extend(config, fieldsetOptions), self.el);
self.$fieldsets.push(ui);
self.$components.push(ui);
});
Expand Down

0 comments on commit b25a688

Please sign in to comment.