2988
Views
21
Comments
[MultipleSelection] Multiple Selection
Question
multipleselection
Web icon
Forge asset by Palash Debnath

Hi,

First of all congrats for the component. 

I would like to ask you how should work the multiple selection of elements from the list? Since, from what I checked, it is just saving the last Id picked. I thought that it would save to the variable all the Id's checked on the combo.  

Kind regards,


João Tavares

2014-12-24 13-44-21
Keith Matthews

Looks like its saving a comma delimeted list of values selected to the intOptionValues variable. So you would need to parse through that list to understand what was chosen, similar to the MultipleSelect component

2018-12-30 11-19-36
Palash Debnath

Hi João,

i am very sorry for the late reply.

Keith is right about the selection. it creates a comma delimited list with all the selected option values.

Thanks & Regards,

Palash

2021-02-02 11-55-27
Tushar Panpaliya

Can you please explain how can  I get the list of selected values. As you mentioned I should get a comma delimited list in the variable assigned to combo box. But all I get is the id/value for the last selected item. 

2025-04-22 05-54-18
Shashi Kant Shukla

Hi Tushar/Joao,

This component is having InputPlaceholder you can place a text box there and bind a text variable(intOptionValues) with this textbox and you can get comma separated selected id`s in variable intOptionValues.



Please find attached oml for more detail hope it will solve the problem.


Regards

-SK-

MultipleSelection1.oml
2020-10-12 05-46-33
Nikhil Gondane

Shashikant Shukla wrote:

Hi Tushar/Joao,

This component is having InputPlaceholder you can place a text box there and bind a text variable(intOptionValues) with this textbox and you can get comma separated selected id`s in variable intOptionValues.



Please find attached oml for more detail hope it will solve the problem.


Regards

-SK-

Hi Shashikant , I have install your oml file it showing following error "'AddDeviceMetatag' Action is incompatible with the 'WebPatterns' module definition. Please update it." , I have manage dependency of 'Lisbon theme' and 'Outsystems web UI' . 


How can  resolve this issue to view your app. on brower ? Thank you !

 

2021-02-02 11-55-27
Tushar Panpaliya

I am facing another weird issue. If I go by this approach the buttons are getting disabled whenever I select all. If I don't select all and just select some of the items everything works as expected. 

UserImage.jpg
Jose Caballero

Hi there im having some issues using this tool since it only functions when its selected in order im trying to fill an array with the items and then pass them into another.

2018-12-30 11-19-36
Palash Debnath

Jose Caballero wrote:

Hi there im having some issues using this tool since it only functions when its selected in order im trying to fill an array with the items and then pass them into another.

Hi jose,


I did not get your concern, could you please add an example?


2024-07-09 06-46-18
Ismael_Jay

Hi Palash,


Is there a config wherein selected values are put on top of the list aside from the n of n selected text?


Regards,

2018-12-30 11-19-36
Palash Debnath

amfufutm amfufutm wrote:

Hi Palash,


Is there a config wherein selected values are put on top of the list aside from the n of n selected text?


Regards,

Hi Amfufutm,

I don't implement that functionality, But i believe that in combo box you can go further left and check what values are there, just like text filed.

This is the reason it shows n of n selected, so that you can click on the combo box and see what are the items are selected.

Regards,

palash


UserImage.jpg
John Magno

Hi,

I tried to use this component and the below are the result. Check box is missing and Combo Box style seems to be weird.

Please advise.


Cheers,

Yopi

2018-12-30 11-19-36
Palash Debnath

John Magno wrote:

Hi,

I tried to use this component and the below are the result. Check box is missing and Combo Box style seems to be weird.

Please advise.


Cheers,

Yopi

Hi John,

Sorry to heard about it and for very late reply. Could you please provide me the sample oml file, so that i can have a look or you may provide me the details of version and template you are using, i try to reproduce it from my end.

Thanks,

Palash 


UserImage.jpg
John Magno

Palash Debnath wrote:

John Magno wrote:

Hi,

I tried to use this component and the below are the result. Check box is missing and Combo Box style seems to be weird.

Please advise.


Cheers,

Yopi

Hi John,

Sorry to heard about it and for very late reply. Could you please provide me the sample oml file, so that i can have a look or you may provide me the details of version and template you are using, i try to reproduce it from my end.

Thanks,

Palash 


Hi Palash,

No worries. Please find the attached oml.


MultipleSelect.oml
2018-12-30 11-19-36
Palash Debnath

John Magno wrote:

Palash Debnath wrote:

John Magno wrote:

Hi,

I tried to use this component and the below are the result. Check box is missing and Combo Box style seems to be weird.

Please advise.


Cheers,

Yopi

Hi John,

Sorry to heard about it and for very late reply. Could you please provide me the sample oml file, so that i can have a look or you may provide me the details of version and template you are using, i try to reproduce it from my end.

Thanks,

Palash 


Hi Palash,

No worries. Please find the attached oml.


Hi John,

I have uploaded a new version you may download it or update your reference. There was some issue with the in-built css theme you are using, but i modified the component to handle such cases.

Enjoy!!!

Regards,

Palash


UserImage.jpg
John Magno

Palash Debnath wrote:

John Magno wrote:

Palash Debnath wrote:

John Magno wrote:

Hi,

I tried to use this component and the below are the result. Check box is missing and Combo Box style seems to be weird.

Please advise.


Cheers,

Yopi

Hi John,

Sorry to heard about it and for very late reply. Could you please provide me the sample oml file, so that i can have a look or you may provide me the details of version and template you are using, i try to reproduce it from my end.

Thanks,

Palash 


Hi Palash,

No worries. Please find the attached oml.


Hi John,

I have uploaded a new version you may download it or update your reference. There was some issue with the in-built css theme you are using, but i modified the component to handle such cases.

Enjoy!!!

Regards,

Palash


Hi Palash,

Awesome, thanks for this! It works. :D


Cheers,

Yopi


2022-04-20 12-08-36
Soundarya

João Tavares wrote:

Hi,

First of all congrats for the component. 

I would like to ask you how should work the multiple selection of elements from the list? Since, from what I checked, it is just saving the last Id picked. I thought that it would save to the variable all the Id's checked on the combo.  

Kind regards,


João Tavares


UserImage.jpg
Jay Jay

Hi Palash,


We have this error that when the component has a value which consist of parenthesis (e.g. CA08(2) ) which was selected and was refreshed through AJAX , there is a script error being thrown. Please see image below:



Best Regards,

2020-04-01 09-56-20
Cristina Dragomir

Hi Palash, 

congrats for the component it looks amazing!!

I was just wondering, does it support the use of optgroups? If yes, where would i set them up?


Kind regards,
Cristina 

UserImage.jpg
Luis Santos

I have the MultipleSelection widget linked to a combo box but it seems the OnChange Action doesn't run everytime...

In this case, I have a query that gets 8 records from a static entity and On Change I want to refresh the query and update the list on the widget, based on what is selected.


When I select Change Salary first, the list gets shortened to [Change Salary, Add Child] and if I select Add Child after, everything works ok.

If I do it in the opposite order, selecting Add Child first and then Change Salary, everything goes ok on the first select but not on the second one, with the OnChange Action not running. The value selected gets put correctly on the binded variable but I have some validations on the OnChange action I need to run.

I tried putting an alert in the onclick of the extended properties (both in the input and in the combo) and in both cases it gets displayed, so I'm thinking on putting JS to click on a button to run the OnChange action but I'd rather avoid this =/

UserImage.jpg
Luis Santos

Luis Santos wrote:

I have the MultipleSelection widget linked to a combo box but it seems the OnChange Action doesn't run everytime...

In this case, I have a query that gets 8 records from a static entity and On Change I want to refresh the query and update the list on the widget, based on what is selected.


When I select Change Salary first, the list gets shortened to [Change Salary, Add Child] and if I select Add Child after, everything works ok.

If I do it in the opposite order, selecting Add Child first and then Change Salary, everything goes ok on the first select but not on the second one, with the OnChange Action not running. The value selected gets put correctly on the binded variable but I have some validations on the OnChange action I need to run.

I tried putting an alert in the onclick of the extended properties (both in the input and in the combo) and in both cases it gets displayed, so I'm thinking on putting JS to click on a button to run the OnChange action but I'd rather avoid this =/


In attachment an example OML

MultipleSelectComboBox.oml
UserImage.jpg
Luis Santos

Attachment

MultipleSelectComboBox.oml
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.