Commit 26639d1f authored by Pavel Mashliakovskiy's avatar Pavel Mashliakovskiy 🤹🏻

Merge branch 'UFile_display_error_inside_UFormRow' into 'master'

`UFile` display red border in case `UFile` placed inside `UFormRow` with error

See merge request !821
parents 155ebdce df9cccda
Pipeline #21725 skipped with stage
......@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- `UTableEntity`: bottom pagination button for tables is centered on a current viewport, so visible even in case of many columns in table
- `UTableEntity`: bottom pagination button is hidden in case next page is unavailable
- `UNavbar` collapse button background color is bound to `USidebar` background.
- `UFile` - use danger border color for `UFile` placed inside `UFormRow` what in error state
- `UBaseInput` prevent error border around input in Firefox by changing default values for props `step="any"` (instead of 1), `precision="Infinity"` (insead of 0)
- `el-theme` rebuild theme with actual css variables (uses the same colors for warning, prmary text and borders in El controls as for U controls)
......
......@@ -236,7 +236,8 @@ export default {
.u-form-row.is-error .el-input__inner,
.u-form-row.is-error .el-textarea__inner,
.u-form-row.is-error .ub-select-multiple__container {
.u-form-row.is-error .ub-select-multiple__container,
.u-form-row.is-error .u-file-container {
border-color: hsl(var(--hs-danger), var(--l-input-border-default));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment