Update StackForm to sort fields by name

This commit is contained in:
Andras Bacsai committed 2024-05-31 12:55:14 +02:00
1 parent cb6bf78595
commit 103f677a93
2 files changed
+11 -2

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ class StackForm extends Component
$this->validationAttributes["fields.$key.value"] = $fieldKey;
}
}
//$this->fields = $this->fields->sortDesc();
$this->fields = $this->fields->sortBy('name');
}
public function saveCompose($raw)
{