Closed BryanttV closed 9 months ago
This PR fixes an error when editing an H5P component when the platform language is set to Spanish. In Spanish, the default value of the weight field is (1,0), and when converting to float it breaks.
weight
(1,0)
float
Error no longer occurs
Description
This PR fixes an error when editing an H5P component when the platform language is set to Spanish. In Spanish, the default value of the
weight
field is(1,0)
, and when converting tofloat
it breaks.Screenshots
Before
After
Error no longer occurs