Skip to content

Commit a79d98a

Browse files
authored
fix(b-form-input/b-form-textarea): legacy browser support (closes bootstrap-vue#6283) (bootstrap-vue#6345)
* fix(b-form-input/b-form-textarea): legacy browser support * Update form-text.js * Revert "Update form-text.js" This reverts commit d4cd34a. * Update form-text.js * Update props.js * Update props.js * Update form-text.js
1 parent 67624f0 commit a79d98a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/utils/props.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,5 @@ const configurablePropDefaultFnName = makePropConfigurable({}, '', '').default.n
9494

9595
// Detect wether the given value is currently a function
9696
// and isn't the props default function
97-
export const hasPropFunction = fn => isFunction(fn) && fn.name !== configurablePropDefaultFnName
97+
export const hasPropFunction = fn =>
98+
isFunction(fn) && fn.name && fn.name !== configurablePropDefaultFnName

0 commit comments

Comments
 (0)