Display red border around invalid selects

I developed this while going down a slightly different path. I tested it visually, but the case I tested doesn't exist. I'm confident it will work if we ever have an error on another select though.
This commit is contained in:
David Cook
2024-05-16 14:21:44 +10:00
parent 3e1e7d3a10
commit e0c60aad48

View File

@@ -194,6 +194,13 @@
}
}
// Errors
.field_with_errors .ts-wrapper {
.ts-control {
border-color: $color-error;
}
}
// Display as "changed" if sibling select is marked as changed.
select.changed + .ts-wrapper {
&.single, &.multi {