When the user types in a custom launch parameter but doesn't press enter to parse and save it into the field, it is not persisted in the database.
Steps to reproduce:
1) Create a new server of any type
2) In the "Custom launch parameters" field, type -maxFPS 60, but don't press enter.
3) Click "Submit"
4) View the server settings
Expected result:
-maxFPS 60 is present in "Custom launch parameters" field
Actual result:
The "Custom launch parameters" field is empty
Possible solution:
Parse and save the parameter on form submit if it's still being edited.
When the user types in a custom launch parameter but doesn't press enter to parse and save it into the field, it is not persisted in the database.
Steps to reproduce: 1) Create a new server of any type 2) In the "Custom launch parameters" field, type
-maxFPS 60
, but don't press enter. 3) Click "Submit" 4) View the server settingsExpected result:
-maxFPS 60
is present in "Custom launch parameters" fieldActual result: The "Custom launch parameters" field is empty
Possible solution: Parse and save the parameter on form submit if it's still being edited.