0

I have ion input with this css classes ind it is not working.

I tried all the solutions in this link:

and it still not working This is my code:

html:

<ion-input 
    placeholder="{{data.IncentiveText | translate}}" (input)="updateSearch()" 
    [(ngModel)]="autocomplete.query" 
    [id]="data.FieldName" 
    [type]="text" 
    name="data.FieldName" 
    class="search"></ion-input>

css:

.search{
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 30px;
    white-space:nowrap !important;
    display:block !important;
    float:left;
    position: static;
}

Do you have any solution?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

0 Answers0