on ‎2022 Aug 12 4:30 PM
Request clarification before answering.
Thanks rzieschang
Could you guide me how to work with GENERIC_POPUP? I don't find documentation. This is my piece of code.
showOpenAccounts(accounts) {
this.activePopup = 3;
this.buildElementsOpenAccounts(accounts);
this.eventBus.push('SHOW_GENERIC_POPUP', {
configuration: [
this.createRibbonConfigurationOpenAccounts(),
],
title: 'Cuentas no facturadas', //Title of the dialog
widthFactor: 0.8, //Width of the dialog relative to the screen width
heightFactor: 0.8, //Height of the dialog relative to the screen height
callback: (positive) => {
console.log(positive);
}
});
}
In the createRibbonConfigurationOpenAccounts method I build the table, but when running the plugin the table does not show (In the original code I used SHOW_GENERIC_INPUT).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi.
Try this
this.eventBus.push('SHOW_GENERIC_INPUT', {
configuration: [
this.createRibbonCuponConfiguration(),
//this.createRibbonConfiguration(),
],
title: this.translationStore.getTranslation('WINDOW_PROMO_TITTLE', this.user.getLanguageCode()),
showKeyboardSwitchButton: false,
keyboardType: 'none',
widthFactor: 0.8,
heightFactor: 0.75,
callback: (positive) => {
if (positive) {
}
}
});
Hi ricardo.renteria2,
I guess you are using the GENERIC_INPUT? If you do not need a keyboard just use the SHOW_GENERIC_POPUP.
hth
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.