Multiselect Dropdown and Searchable Dropdown in Angular || Angular || Angular Tutorial

  Рет қаралды 57,920

Creative Developer

Creative Developer

Күн бұрын

Пікірлер: 55
@vinayyelleti2714
@vinayyelleti2714 Жыл бұрын
i have a use case , where on selection of lets say "kolkata" , i need to disable checkbox select of Delhi how can we do this ?
@udhayakumar880
@udhayakumar880 3 жыл бұрын
I am using this drop-down in my project. I have an issue.. after selecting an item, the drop-down is closed. But that needs to be open only... How can I achieve that..??
@ritikrajvanshi857
@ritikrajvanshi857 Жыл бұрын
Is there is any library that works as searchable dropdown. Additionally it attribute value so I can give there value as id and shows name regarding id using interpolation. But binding between is must.
@CreativeDeveloper
@CreativeDeveloper 11 ай бұрын
There is many library.
@MinakshiKothari-g9p
@MinakshiKothari-g9p Жыл бұрын
Can you please explain how can I show drop down for 1000k records. I want to show first 10 records in drop down but while searching it should show the results.
@thaslithaslim5083
@thaslithaslim5083 2 жыл бұрын
Sir I have an error in html Placeholder,[settings]="dropdownSettings" and [data]="dropdownList" How to clear these error
@shivtechgyan2181
@shivtechgyan2181 2 жыл бұрын
I got same error...did you get how to resolve this one...?
@CreativeDeveloper
@CreativeDeveloper Жыл бұрын
Shuffle these property and try
3 жыл бұрын
how to get the value of only the selected items? in selectedItems it does not save anything after having selected the items. thanks?
@CreativeDeveloper
@CreativeDeveloper Жыл бұрын
Using selection event
@nagendrakumar3149
@nagendrakumar3149 Жыл бұрын
Thanks a lot for your explanation
@sumandas6132
@sumandas6132 4 жыл бұрын
Nice concept and we'll explained... Keep it up for supporting this type of valuable information given us
@shashankgonuguntla2618
@shashankgonuguntla2618 3 жыл бұрын
Will it accept dynamic data from api ? If yes how to bind it example pls ...
@CreativeDeveloper
@CreativeDeveloper 3 жыл бұрын
Ya its yes but you have to check documents of it. Or don't worry I will try to make another video of it.
@shashankgonuguntla2618
@shashankgonuguntla2618 3 жыл бұрын
@@CreativeDeveloper can you provide me that documents
@mariembenyoussef7838
@mariembenyoussef7838 2 жыл бұрын
Thanks a lot! This is well explained and It worked for me :D
@alexgavidia7356
@alexgavidia7356 3 жыл бұрын
What if I want to prevent the automatic addition of the selected item? help
@CreativeDeveloper
@CreativeDeveloper 3 жыл бұрын
automatic addition? Can you please explain it ?
@pietro5898
@pietro5898 3 жыл бұрын
sir why does my item_id and item_text gives me errors? i did all as you showed
@CreativeDeveloper
@CreativeDeveloper 3 жыл бұрын
I have to check it.
@romansajid7298
@romansajid7298 3 жыл бұрын
because we have not initialized our "dropdownList: any = []; selectedItems: any = [];" to avoid this error just go to tsconfig.json and paste "strictPropertyInitialization": false, under the "strict": true, in compilerOptions object.
@vivansam6832
@vivansam6832 3 жыл бұрын
@@romansajid7298 yes i did so still the same error repeats please reply soon
@shivtechgyan2181
@shivtechgyan2181 2 жыл бұрын
I got same ..error ..did you get how to resolve that error?
@niseancastillo1666
@niseancastillo1666 3 жыл бұрын
Thanks. This is well explained. Is it possibly for it to display the number of items selected when you select over the limit specified? E.g: 5 Items Selected
@CreativeDeveloper
@CreativeDeveloper 3 жыл бұрын
You can.
@niseancastillo1666
@niseancastillo1666 3 жыл бұрын
@@CreativeDeveloper Thanks for getting back to me. Is there a property I need to set on the control or the drop-down settings. PrimeNg multiselect has a "SelectItemsLabel" property that you could set. SelectItemsLabel="{0} items selected". How do I do this with the multiselect in your video.
@CreativeDeveloper
@CreativeDeveloper 3 жыл бұрын
@@niseancastillo1666 some line of code you have to be write in template also
@sagarbora7768
@sagarbora7768 3 жыл бұрын
Why did we installed dependency tslib Also how to use it when components are nested
@haseebsahi8764
@haseebsahi8764 3 жыл бұрын
Why does [data] markup only accept the array with objects having property 'text'? What if I want to load an array with different properties e.g. 'brandName' instead of 'title'?
@shubhasismahata4726
@shubhasismahata4726 4 жыл бұрын
i want to load 1lakh data in dropdownlist , how to make server side dropdownlist in angular
@CreativeDeveloper
@CreativeDeveloper 4 жыл бұрын
Yea. You have to call api in service.ts file and create a loop in select field. It is difficult to explain in comment section. I will make a video on it.
@shubhasismahata4726
@shubhasismahata4726 4 жыл бұрын
@@CreativeDeveloper ok.. make it as soon as possible
@mostafaatef4584
@mostafaatef4584 3 жыл бұрын
Nice video, keep the good work, please i have a question dropdown is working fine but i can't get any properties except ID & name only, can you explain please why is that??
@CreativeDeveloper
@CreativeDeveloper 3 жыл бұрын
You have to be use filter method
@shitalpimpalkar2224
@shitalpimpalkar2224 2 жыл бұрын
How to sort the multiselect options
@pranathiravikumar9950
@pranathiravikumar9950 Жыл бұрын
How to use custom css for this
@CreativeDeveloper
@CreativeDeveloper 11 ай бұрын
Inspect and check the class name. Based on those classes you can write CSS.
@dulalbhowmik8231
@dulalbhowmik8231 4 жыл бұрын
Thanks. It worked for me.
@ninistories
@ninistories 4 жыл бұрын
I get no data available?
@CreativeDeveloper
@CreativeDeveloper 4 жыл бұрын
Its updated now and there are also an issue. The solution is You have to write settings property first and then data property inside template. like that...
@nishantgosavi850
@nishantgosavi850 3 жыл бұрын
@@CreativeDeveloper I got same issue, This is solution is working for me, thank you so much for this kind of content and explanation
@candrakusuma4554
@candrakusuma4554 4 жыл бұрын
can you change the color of checkbox?
@CreativeDeveloper
@CreativeDeveloper 4 жыл бұрын
yea, to use css possible to change color.
@devikasuchith8764
@devikasuchith8764 4 жыл бұрын
Sir can we do this in Reactive forms ?
@CreativeDeveloper
@CreativeDeveloper 4 жыл бұрын
You can
@devikasuchith8764
@devikasuchith8764 4 жыл бұрын
@@CreativeDeveloper can you please provide explanation for that .... A sample or so ...
@devikasuchith8764
@devikasuchith8764 4 жыл бұрын
@@CreativeDeveloper because in this you have used ngModel which won't be working with reactive form
@CreativeDeveloper
@CreativeDeveloper 4 жыл бұрын
@@devikasuchith8764 you can check my reactive tutorial or go to playlist there are a playlist name mean stack. You will find also in mean stack tutorial that how to use reactive form and insert data in mongodb. So same thing you apply in multi select dropdown. After that if you face any problem then I will help you. Don't worry.
@CreativeDeveloper
@CreativeDeveloper 4 жыл бұрын
@@devikasuchith8764 form-control, ng-model, name both attributes name will be same.
@akshayraut858
@akshayraut858 Жыл бұрын
How to make a multi-select dropdown without using third party libraries?
@CreativeDeveloper
@CreativeDeveloper Жыл бұрын
It is simple. Here it's difficult to explain. I will try to make a video on it.
@archanabhowmick9787
@archanabhowmick9787 4 жыл бұрын
It is working
JavaScript Text to Speech Tutorial: Convert Text to Voice Easily
43:28
Creative Developer
Рет қаралды 4,7 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 15 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 22 МЛН
Responsive Login Form Design with HTML & CSS | Beginner Friendly
48:11
Create Stylish Dropdown Menus with HTML & CSS: Step-by-Step Guide
40:01
Responsive Header Tutorial: HTML, CSS & JS for Beginners
1:50:20
Creative Developer
Рет қаралды 1,9 М.
Find First Non Repeating Character From A String In Javascript
8:02
Creative Developer
Рет қаралды 125
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 15 МЛН