Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vue-unistra
formbuilder
Commits
b2dfd22f
Commit
b2dfd22f
authored
Jan 31, 2022
by
MARCO Jonathan
Browse files
🔀
Merge branch 'release/3.0.31'
parents
d8e97a58
e9a5c85c
Pipeline
#72526
passed with stage
in 14 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
b2dfd22f
{
"name"
:
"@vue-unistra/formbuilder"
,
"version"
:
"3.0.3
0
"
,
"version"
:
"3.0.3
1
"
,
"main"
:
"dist/index.js"
,
"files"
:
[
"dist/*"
,
...
...
src/components/formbuilder/settings/tabs/data/UsfTabDataInput/UsfTabDataInput.vue
View file @
b2dfd22f
...
...
@@ -334,8 +334,8 @@ export default Vue.extend({
customFilter
(
itemLabel
:
string
,
search
:
string
|
null
,
item
:
Option
):
boolean
{
if
(
search
===
null
)
return
true
;
if
(
item
.
displayedBy
!==
undefined
&&
item
.
displayedBy
.
length
)
{
return
itemLabel
.
toLowerCase
().
includes
(
search
)
||
item
.
displayedBy
.
some
((
optionId
)
=>
{
if
(
!!
item
.
displayedBy
?
.
length
)
{
return
itemLabel
?
.
toLowerCase
().
includes
(
search
)
||
item
.
displayedBy
.
some
((
optionId
)
=>
{
const
option
:
Option
|
undefined
=
this
.
getOption
(
optionId
);
if
(
option
)
{
return
optionId
.
toLowerCase
().
includes
(
search
)
||
option
.
label
.
toLowerCase
().
includes
(
search
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment