Closed gmaclennan closed 4 years ago
@gmaclennan is this blocking on 'TODO: Check behaviour of number fields in Mapeo Mobile.' or should we merge to make it into next Desktop release?
It's not blocking, I added an issue https://github.com/digidem/mapeo-mobile/issues/423. Let's merge this and get it into the next Desktop release.
Previously the field for a field of type
number
was returning the number formatted as a String. This fix ensures that the a number field always sets anumber
value, orundefined
if the value of the field is not a valid number.I don't think we are using
number
type fields much in "the wild" but best to ensure this is working as expected while we remember.TODO: Check behaviour of number fields in Mapeo Mobile.