mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
Merge branch 'master' into fix-ctb
This commit is contained in:
commit
ac7545b53e
@ -63,6 +63,7 @@
|
|||||||
.addonFocus {
|
.addonFocus {
|
||||||
border-color: #78caff;
|
border-color: #78caff;
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
|
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.invalidSearch {
|
.invalidSearch {
|
||||||
|
@ -27,7 +27,7 @@ class InputSelectWithErrors extends React.Component {
|
|||||||
this.setState({ errors });
|
this.setState({ errors });
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isEmpty(this.props.value) && this.props.validations.required) {
|
if (isEmpty(this.props.value) && this.props.validations.required === true) {
|
||||||
const target = {
|
const target = {
|
||||||
type: 'select',
|
type: 'select',
|
||||||
name: this.props.name,
|
name: this.props.name,
|
||||||
|
@ -76,7 +76,7 @@ function validate(value, validations) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'required':
|
case 'required':
|
||||||
if (value.length === 0) {
|
if (validationValue === true && value.length === 0) {
|
||||||
errors.push({ id: 'content-manager.error.validation.required' });
|
errors.push({ id: 'content-manager.error.validation.required' });
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -98,7 +98,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.truncate {
|
.truncate {
|
||||||
overflow-x: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
"EditForm.Input.select.inputDescription": "Files can either be uploaded on your server or on external providers.",
|
"EditForm.Input.select.inputDescription": "Files can either be uploaded on your server or on external providers.",
|
||||||
"EditForm.Input.toggle.label": "Enable file upload",
|
"EditForm.Input.toggle.label": "Enable file upload",
|
||||||
|
|
||||||
"EmptyLi.message": "There is no uploaded files",
|
"EmptyLi.message": "There are no uploaded files",
|
||||||
|
|
||||||
"EntriesNumber.number": "{number} file found",
|
"EntriesNumber.number": "{number} file found",
|
||||||
"EntriesNumber.number.plural": "{number} files found",
|
"EntriesNumber.number.plural": "{number} files found",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user