You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The input in should be in MB and should just be converted to/from bytes in the backend.
Also:
It also might be a good idea to flash an error and redirect back to the detail page if you try to set a limit less then the current default minimum.
Additionally:
[The form field] would be a bit nicer as <input type="number" min={{ THE MINMUM SIZE }} ...> instead of as a text field. It might also make sense to include step="10" or something
The text was updated successfully, but these errors were encountered:
* Uses a number field instead of a text field.
* The text field now uses megabytes instead of bytes.
* The detail page now shows the value in megabytes as well as the full value in bytes.
* The detail page now shows "Default" as well as indicating what the default limit is in MB instead of just displaying "None".
Unfortunately, I couldn't use "step" in the form field as it would have limited the input to multiples of the step value.
Fixespypi#2471
Context: #2470 (comment)
Decision:
Also:
Additionally:
The text was updated successfully, but these errors were encountered: