Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 02:50:28 +01:00
FIX: hide similar topics if the field becomes empty (#82)
Dieser Commit ist enthalten in:
Ursprung
87675c1bfa
Commit
94a02157af
1 geänderte Dateien mit 4 neuen und 1 gelöschten Zeilen
|
@ -92,7 +92,10 @@ export default WizardFieldValidator.extend({
|
||||||
customValidate() {
|
customValidate() {
|
||||||
const field = this.field;
|
const field = this.field;
|
||||||
|
|
||||||
if (!field.value) return;
|
if (!field.value) {
|
||||||
|
this.set('similarTopics', null);
|
||||||
|
return;
|
||||||
|
}
|
||||||
const value = field.value;
|
const value = field.value;
|
||||||
|
|
||||||
this.set("typing", true);
|
this.set("typing", true);
|
||||||
|
|
Laden …
In neuem Issue referenzieren