Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

352
Views
Disabling Ionic 2 keyboard for ion-input

I am using ionic date time picker for my project, basically i am facing two problems here

  1. calendar opens up only on two consecutive clicks, i want it to open up on single click
  2. keyboard opens up for the first click which i want to disable to prevent user from entering date manually.

    <ion-row>
            <ion-col>
                    <ion-item id="clickTwoTimes" ion-datepicker (ionChanged)="setStartDate($event);" [value]="localStartDate" full="true" clearclass="ScheduleDate">
    
                         <ion-input disabled name="Date" placeholder="Start Date" [ngModel]="localStartDate | date" (ngModelChange)="localStartDate=$event">
                         </ion-input>
    
                 </ion-item>
           </ion-col>
    
    
          <ion-col>
              <ion-item ion-datepicker (ionChanged)="setEndDate($event);" [value]="localEndDate" full="true" clear class="ScheduleDate">
    
                     <ion-input [disabled]='true' name="Date" placeholder="End Date" [ngModel]="localEndDate | date" (ngModelChange)="localEndDate=$event">
                    </ion-input>
              </ion-item>
         </ion-col>
    </ion-row>
    
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!