2021-12-09 14:24:42 +00:00
|
|
|
<div class="card">
|
|
|
|
<h5>Float Label</h5>
|
|
|
|
<div class="grid p-fluid mt-3">
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<input type="text" id="inputtext" pInputText [(ngModel)]="value1">
|
|
|
|
<label for="inputtext">InputText</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-autoComplete inputId="autocomplete" [(ngModel)]="value2" [suggestions]="filteredCountries"
|
|
|
|
(completeMethod)="searchCountry($event)" field="name"></p-autoComplete>
|
|
|
|
<label for="autocomplete">AutoComplete</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-calendar inputId="calendar" [(ngModel)]="value3"></p-calendar>
|
|
|
|
<label for="calendar">Calendar</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-chips inputId="chips" [(ngModel)]="value4"></p-chips>
|
|
|
|
<label for="chips">Chips</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-inputMask inputId="inputmask" mask="99/99/9999" [(ngModel)]="value5"></p-inputMask>
|
|
|
|
<label for="inputmask">InputMask</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-inputNumber inputId="inputnumber" [(ngModel)]="value6"></p-inputNumber>
|
|
|
|
<label for="inputnumber">InputNumber</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<div class="p-inputgroup">
|
|
|
|
<span class="p-inputgroup-addon">
|
|
|
|
<i class="pi pi-user"></i>
|
|
|
|
</span>
|
|
|
|
<span class="p-float-label">
|
|
|
|
<input type="text" inputId="inputgroup" pInputText [(ngModel)]="value7">
|
|
|
|
<label for="inputgroup">InputGroup</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-dropdown inputId="dropdown" [autoDisplayFirst]="false" [options]="cities" [(ngModel)]="value8" optionLabel="name"></p-dropdown>
|
|
|
|
<label for="dropdown">Dropdown</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<p-multiSelect inputId="multiselect" [options]="cities" [(ngModel)]="value9" optionLabel="name" [filter]="false"></p-multiSelect>
|
|
|
|
<label for="multiselect">MultiSelect</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-12-14 13:31:40 +00:00
|
|
|
<div class="field col-12 md:col-4">
|
2021-12-09 14:24:42 +00:00
|
|
|
<span class="p-float-label">
|
|
|
|
<textarea inputId="textarea" rows="3" cols="30" [(ngModel)]="value10" pInputTextarea></textarea>
|
|
|
|
<label for="textarea">Textarea</label>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|