File tree Expand file tree Collapse file tree
projects/bootstrapcomponents/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 ngbDropdownItem
3030 class ="svy-ngbdropdownitem "
3131 [ngClass] ="{active:valueComparator(value)} "
32- (click) ="updateValue(value.realValue) ">
32+ (click) ="updateValue(value.realValue, $event ) ">
3333 <!-- do not break the next line -->
3434 < span *ngIf ="showAsHtml() " [innerHtml] ="value.displayValue | formatFilter:format | htmlFilter | trustAsHtml:isTrustedHTML() | emptyValue "> </ span >
3535 < span *ngIf ="!showAsHtml() "> {{getRemainingValueBefore(value.displayValue | formatFilter:format | emptyValue)}}< strong > {{getStrongValue(value.displayValue | formatFilter:format | emptyValue)}}</ strong > {{getRemainingValueAfter(value.displayValue | formatFilter:format | emptyValue)}}</ span >
Original file line number Diff line number Diff line change @@ -233,10 +233,13 @@ export class ServoyBootstrapCombobox extends ServoyBootstrapBasefield<HTMLDivEle
233233 }
234234 }
235235
236- updateValue ( realValue : any ) {
236+ updateValue ( realValue : any , event : Event ) {
237237 this . dataProviderID = realValue ;
238238 this . dataProviderIDChange . emit ( this . dataProviderID ) ;
239239 this . placeholderClass = null ;
240+ if ( this . onActionMethodID ) {
241+ this . onActionMethodID ( event , this . getDataTarget ( event ) ) ;
242+ }
240243 }
241244
242245 getRemainingValueBefore ( value : any ) : any {
Original file line number Diff line number Diff line change 2626 ngbDropdownItem
2727 class ="svy-ngbdropdownitem "
2828 [ngClass] ="{active:valueComparator(value)} "
29- (click) ="updateValue(value.realValue) ">
29+ (click) ="updateValue(value.realValue, $event ) ">
3030 <!-- do not break the next line -->
3131 {{getRemainingValueBefore(value.displayValue | formatFilter:format | emptyValue)}}< strong > {{getStrongValue(value.displayValue | formatFilter:format | emptyValue)}}</ strong > {{getRemainingValueAfter(value.displayValue | formatFilter:format | emptyValue)}}
3232 </ button >
You can’t perform that action at this time.
0 commit comments