File tree 2 files changed +4
-2
lines changed
frontend/express/public/javascripts/countly/vue/components
plugins/reports/frontend/public/templates
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 883
883
}
884
884
} ,
885
885
isItemCountValid : function ( ) {
886
- if ( this . mode === "single-list" || this . autoCommit ) {
886
+ if ( this . mode === "single-list" || this . autoCommit || this . maxItems === 0 || this . maxItems === undefined ) {
887
887
return true ;
888
888
}
889
889
return Array . isArray ( this . innerValue ) && this . innerValue . length >= this . minItems && this . innerValue . length <= this . maxItems ;
904
904
return false ;
905
905
} ,
906
906
disableNonSelected : function ( ) {
907
+ if ( this . maxItems === 0 || this . maxItems === undefined ) {
908
+ return false ;
909
+ }
907
910
return this . innerValue && this . innerValue . length === this . maxItems ;
908
911
}
909
912
} ,
Original file line number Diff line number Diff line change 162
162
v - on :change = "appsChange"
163
163
:collapse - tags = "false"
164
164
:multiple = "true"
165
- :multiple - limit = "4"
166
165
v - model = "drawerScope.editedObject.apps"
167
166
multiple >
168
167
< / cly-app-select >
You can’t perform that action at this time.
0 commit comments