0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-09-19 23:31:11 +02:00
Dieser Commit ist enthalten in:
Angus McLeod 2018-05-16 17:19:03 +10:00
Ursprung bc5a504dfd
Commit e005eac934
2 geänderte Dateien mit 7 neuen und 5 gelöschten Zeilen

Datei anzeigen

@ -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;
}
}

Datei anzeigen

@ -217,10 +217,12 @@
margin: 0.5em 0;
}
.combo-box ul {
padding: 0;
.combo-box {
ul {
padding: 0;
}
li p {
p {
margin: 0;
}
}