We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Dropdown List is not working

Hai Team,

         We are developing Angular4 (Typescript) application and we are using ej dropdownlist for multiple selections in the my Page.
         We are using form for validation purposes and if we use form ej dropdown list is not working.
Since we have demo on Monday we need a quick solution regarding this issue.Please provide a solution ASAP.

HTML CODE:
   <form #Users="ngForm" ng-submit="addusers(Users)">
            <div class="row mfg-top panel panel-default">
                <div class="panel-body">
                      <div class="row mrgn_btm">
                        <div class="col-lg-12 col-md-12 mfg-top div-marleft">
                            <div class="row">
                                <div class="col-lg-6 col-md-6">
                                    <div class="row">
                                        <div class="col-lg-4 col-md-4">
                                            <label class="label_size">Associate Location<span class="red">*</span></label>
                                        </div>
                                        <div class="col-lg-8 col-md-8">
                                            <input id="ddlLocaion" [(ngModel)]='safetyusers.locationID' name="selectedLocation" ej-dropdownlist [dataSource]="LoadLocation" class="form-control" width="100%" [fields]="fieldsvalues" [showCheckbox]="true" [(multiSelectMode)]="selectmode" watermarkText="Select Associate Locations" required />
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>


Regards,
Muthu


1 Reply

PO Prince Oliver Syncfusion Team November 19, 2018 08:34 AM UTC

Hi Muthukumar,  

Thank you for contacting Syncfusion support. 

We have checked your requirement for DropDownList form validation in Angular 4. We have prepared sample based on your shared code snippet. Kindly refer to the following link for the sample : http://www.syncfusion.com/downloads/support/forum/140973/ze/dropdownlistvalidate2019443808  

Kindly refer to the above sample, please let us know if you still face any issues in your end. 

Regards, 
Prince 


Loader.
Live Chat Icon For mobile
Up arrow icon