Closed (fixed)
Project:
Webform
Version:
8.x-5.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Mar 2019 at 14:23 UTC
Updated:
29 Mar 2019 at 15:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
jbaraldi commentedAs the call to Bytes::toInt() on a decimal number would always round it, I made the call as it is done for the webform elements settings with the unit (it was already setting the unit as MB when multiplying for 1024*1024).
Comment #3
renatog commentedComment #4
renatog commented#2 Really makes sense to me.
Good catch @jbaraldi
+1 to RTBC
@jrockowitz , what do you think?!
Good work and good weekend.
Best
Comment #6
jrockowitz commentedLooks good to me. I committed the patch.