Skip to content

Commit

Permalink
Fixed exported utils method signature.
Browse files Browse the repository at this point in the history
  • Loading branch information
travist committed May 7, 2024
1 parent 3487ef6 commit 86ebb29
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 314 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@formio/js",
"version": "5.0.0-rc.49",
"version": "5.0.0-rc.51",
"description": "JavaScript powered Forms with JSON Form Builder",
"main": "lib/cjs/index.js",
"exports": {
Expand Down Expand Up @@ -77,7 +77,7 @@
"dependencies": {
"@formio/bootstrap": "^3.0.0-rc.24",
"@formio/choices.js": "^10.2.1",
"@formio/core": "^2.1.0-dev.tt.4",
"@formio/core": "^2.1.0-dev.tt.7",
"@formio/text-mask-addons": "^3.8.0-formio.2",
"@formio/vanilla-text-mask": "^5.1.1-formio.1",
"abortcontroller-polyfill": "^1.7.5",
Expand Down
2 changes: 1 addition & 1 deletion src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ export function observeOverload(callback, options = {}) {
* @param excludeNested
* @param excludedTypes
*/
export function getContextComponents(context, excludeNested, excludedTypes = []) {
export function getContextComponents(context, excludeNested = false, excludedTypes = []) {
const values = [];

context.utils.eachComponent(context.instance.options.editForm.components, (component, path) => {
Expand Down
Loading

0 comments on commit 86ebb29

Please sign in to comment.