зеркало из https://github.com/Azure/BatchExplorer.git
Fixes errors not announced on duration picker
Fixes AB#1065
This commit is contained in:
Родитель
a8e4a5591c
Коммит
b4996454a6
|
@ -16,16 +16,17 @@
|
||||||
</bl-select>
|
</bl-select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="error" *ngIf="invalidTimeNumber">
|
<div class="error-container" role="alert">
|
||||||
Input should be a valid positive number
|
<div class="error" *ngIf="invalidTimeNumber">
|
||||||
|
Input should be a valid positive number
|
||||||
|
</div>
|
||||||
|
<div class="error" *ngIf="required && !this.time">
|
||||||
|
Input is required
|
||||||
|
</div>
|
||||||
|
<div class="error" *ngIf="invalidCustomDuration">
|
||||||
|
This is not a valid ISO 8601 duration <i>(e.g. PT1M, P1D)</i>
|
||||||
|
</div>
|
||||||
|
<div class="error" *ngIf="invalidDurationValue">
|
||||||
|
Input must be less than 10675199 days
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="error" *ngIf="required && !this.time">
|
|
||||||
Input is required
|
|
||||||
</div>
|
|
||||||
<div class="error" *ngIf="invalidCustomDuration">
|
|
||||||
This is not a valid ISO 8601 duration <i>(e.g. PT1M, P1D)</i>
|
|
||||||
</div>
|
|
||||||
<div class="error" *ngIf="invalidDurationValue">
|
|
||||||
Input must be less than 10675199 days
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ bl-duration-picker {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .error {
|
> .error-container > .error {
|
||||||
color: $danger-color;
|
color: $danger-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче