1.1.3 Breaks compatibility with 1.1.2
BobReid opened this issue · comments
If you use [RENumberItem itemWithTitle:@"title" value:nil placeholder:@"placeholder"] then item.format is null and REFormattedNumberField will not accept any input.
In 1.1.2 the field would still accept any decimal characters.
Possible fixes.
- override -[RENumberItem initWithTitle:value:placeholder:] and forward to -[RENumberItem initWithTitle:value:placeholder:format:](making it a true designated initializer).
- Patch REFormattedNumberField to work with a nil item format.
This was especially annoying because even though we had pinned the version RETableViewManager it had specified a dependency on REFormattedNumberField of >= 1.1.2 and broke the current behaviour.
Fixed, tanks!