Hi Varjang I'm using the following test :new List(of string) from {"aa","bb"} but I got everything double in dropdown like aa bb aa bb any Idea? thanks in advance
@carlorobazza75692 жыл бұрын
After the state and city values have been selected, where are the selected values stored? Are they only in the JSON output? When using select boxes, etc., the selected values are updated in the dictionary. Is it different for drop-down lists? Thanks!
@vajrangorg2 жыл бұрын
There might be changes in implementation, please post it in uipath fourm
@ElWiwif2 жыл бұрын
You rock man!
@vajrangorg2 жыл бұрын
Thank you
@liorhen27693 жыл бұрын
Hi, don't know what i'm doing wrong I see the right value in log but the value in the dropdown automatically changes to the previous one
@vajrangorg2 жыл бұрын
check with code
@kiruthikaseshaiyan56724 жыл бұрын
Hi Vajrang, what should I do if I need to populate the text box instead of two dropdowns
@vajrangorg4 жыл бұрын
same method instead of sending a list value send as string to a textbox id
@maxim.pechura2 жыл бұрын
There's undocumented feature to execute the Do block: instance.emit('executeDoBlock', instance.component); But for me the problem is I don't know how to create this on dropdown select change condition
used this code , but have a problem, the dropdown always shows the last value of the list when the form is loaded, and when i change the value in dropdown, it revert back to the original one which is the last item of the list , and the it shows the log message two times const updateOnChange = instance.updateOnChange; instance.updateOnChange = function(flags,changed){ if(flags.modified){ instance.emit('dropdownChanged','drop'); } return updateOnChange.call(instance,flags,changed); }
@vajrangorg2 жыл бұрын
Think form is getting reset after change
@AshishParjapat2 жыл бұрын
@@vajrangorg may be but have one more issue , i created a list ={india,USA,Russia} the dropdown is auto populated with Russia
@emili84848 Жыл бұрын
I have the same issue. The solution was to type _dropdown on the variable name in the form collection
@SriRam-oz3lm3 жыл бұрын
Hi Vajrang Could you please help me with the below scenario For example if I select the State as Goa and city as Margo then if I change the State to Madhyapradesh how to make the city dropdown value Margo to be removed and appear to have only Madhya Pradesh cities
@vajrangorg3 жыл бұрын
while repopulating fields in do block write a condition
@prembhuvishivanya-ie5yv Жыл бұрын
@@vajrangorg how to achieve this on Multiple Select drop down . I could see previous selected option as well . If I changed the selected drop down.
@philipstv73413 жыл бұрын
I have been looking for a solution for a week. Can the same be done for textField? After entering, for example, 3 characters in the textField field, the Do Forms loop looks up the value from the database. Do you know how you can fire up Do loops from fieldText Change? If you know please help.
@vajrangorg3 жыл бұрын
you need to enter text and use any button to trigger do block in form else you cannot do that and you can write code in do block of the form
@philipstv73413 жыл бұрын
@@vajrangorg Thank you for your response. I thought it could be done without a button. It would be very, very cool. Too bad: /
@maxim.pechura2 жыл бұрын
Hi Mate Could you maybe post a working project on the uipath community forums? A bit hard without working example. But this dropdown is exactly what I was after.
@vajrangorg2 жыл бұрын
Sure will do it
@martincoronado88293 жыл бұрын
can i use the js code inside a datagrid?, two drop down inside of the datagrid
@vajrangorg2 жыл бұрын
Yes you can try
@angelquinz4 жыл бұрын
If I choose multiple values to be selected in Dropdown, how can I limit it to only 10 values selected?
@HP.03 жыл бұрын
Hello, Were you able to figure this out? if yes, what was the solution?
@angelquinz3 жыл бұрын
@@HP.0 wasnt able to figure this out. What I did is i put validation in button properties where it will only show when they put values < 11 :) hope this helps.
@HP.03 жыл бұрын
@@angelquinz ok got it, thanks for a quick reply.
@vajrangorg Жыл бұрын
Hope this got resolved
@philipstv73413 жыл бұрын
You have any errors in JavaScript. Did not work.: const updateOnChange = instance.updateOnChange; instance.updateOnChange = function(flags,changed) { if(flags.changed) { instance.emit('dropdownChange','drop'); } return updateOnChange.call(instance,flag,changed) }
@vajrangorg3 жыл бұрын
Yes I did initially pause video at final code that's the correct one