fix: sort by defined order + fixed typo

This commit is contained in:
iamEvan
2024-05-27 23:41:42 +01:00
parent 424437446d
commit 39f787b7db

View File

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