Conversation
…ue for date and datetime
☁️ Nx Cloud ReportWe didn't find any information for the current pull request with the commit cf0d94e. Check the Nx Cloud Github Integration documentation for more information. Sent with 💌 from NxCloud. |
| null, | ||
| ); | ||
|
|
||
| @Input() id?: string = new Date().getTime().toString(); |
There was a problem hiding this comment.
la variable ne sera jamais undefined si on l'initialise avec une valeur par défaut. On peut enlever l'opérateur '?'
| @Input() id?: string = new Date().getTime().toString(); | |
| @Input() id: string = new Date().getTime().toString(); |
|
|
||
| <div *ngIf="errors$ | async as errors"> | ||
| <pre> | ||
| This field is invalid |
There was a problem hiding this comment.
ne pas mettre de text hardcodé
| (blur)="onTouched()" | ||
| [disabled]="disabled" | ||
| > | ||
| <option [value]="null">{{ placeholder || '' }}</option> |
There was a problem hiding this comment.
placeholder n'est pas déclarer
|
|
||
| <div *ngIf="errors$ | async as errors"> | ||
| <pre> | ||
| This field is invalid |
There was a problem hiding this comment.
ne pas mettre de text hardcodé
|
|
||
| <div *ngIf="errors$ | async as errors"> | ||
| <pre> | ||
| This field is invalid |
There was a problem hiding this comment.
ne pas mettre de text hardcodé
| extends BaseInputTextComponent | ||
| implements OnInit | ||
| { | ||
| @Input() placeholder?: string; |
There was a problem hiding this comment.
| @Input() placeholder?: string; | |
| @Input() placeholder: string = 'Text'; |
| #input | ||
| [id]="prefixId + id" | ||
| type="text" | ||
| [placeholder]="placeholder || ''" |
There was a problem hiding this comment.
| [placeholder]="placeholder || ''" | |
| [placeholder]="placeholder" |
| { | ||
| @ViewChild('textarea') textarea!: ElementRef<HTMLTextAreaElement>; | ||
|
|
||
| @Input() placeholder?: string; |
There was a problem hiding this comment.
| @Input() placeholder?: string; | |
| @Input() placeholder: string = 'Textarea'; |
| <textarea | ||
| #textarea | ||
| [id]="prefixId + id" | ||
| [placeholder]="placeholder || ''" |
There was a problem hiding this comment.
| [placeholder]="placeholder || ''" | |
| [placeholder]="placeholder" |
| #input | ||
| [id]="prefixId + id" | ||
| type="time" | ||
| [placeholder]="placeholder" |
There was a problem hiding this comment.
placeholder n'est pas déclarer
No description provided.