Small tweaks
Dieser Commit ist enthalten in:
Ursprung
bc5a504dfd
Commit
e005eac934
2 geänderte Dateien mit 7 neuen und 5 gelöschten Zeilen
|
@ -172,7 +172,7 @@ export default {
|
|||
}.property('field.type', 'field.id')
|
||||
});
|
||||
|
||||
const StandardFields = ['text', 'textarea', 'dropdown', 'image', 'checkbox', 'user-selector', 'text-only', 'composer'];
|
||||
const StandardFieldValidation = ['text', 'textarea', 'dropdown', 'image', 'checkbox', 'user-selector', 'text-only', 'composer'];
|
||||
|
||||
FieldModel.reopen({
|
||||
hasCustomCheck: false,
|
||||
|
@ -197,7 +197,7 @@ export default {
|
|||
const type = this.get('type');
|
||||
if (type === 'checkbox') {
|
||||
valid = val;
|
||||
} else if (StandardFields.indexOf(type) > -1) {
|
||||
} else if (StandardFieldValidation.indexOf(type) > -1) {
|
||||
valid = val && val.length > 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -217,10 +217,12 @@
|
|||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.combo-box ul {
|
||||
padding: 0;
|
||||
.combo-box {
|
||||
ul {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
li p {
|
||||
p {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
|
Laden …
In neuem Issue referenzieren