Closed WithoutPants closed 3 weeks ago
Resolves #4841 (in terms of improving UX when invalid code is input)
Validates the custom localisation string and displays an error if it is invalid:
It will not be possible to save the string if it has errors.
Validates the custom javascript string for syntax errors, and displays an error if it is invalid:
No validation is performed for custom css as I could find no simple way to do it.
Resolves #4841 (in terms of improving UX when invalid code is input)
Validates the custom localisation string and displays an error if it is invalid:![image](https://github.com/stashapp/stash/assets/53250216/f9ae6bc4-6fcf-4738-81ca-a955d7c56997)
It will not be possible to save the string if it has errors.
Validates the custom javascript string for syntax errors, and displays an error if it is invalid:![image](https://github.com/stashapp/stash/assets/53250216/d0a24be0-0857-48ba-8583-bc2d116be0a4)
No validation is performed for custom css as I could find no simple way to do it.