We have an issue with a block type, which contains a number field, that was previously working fine. I’ve done a simple recreation in a 2nd project:
- Create a block type with a single number field
- Create a model with a structured text field that allows the block
- Create an instance of the model and try to add the block type and set a number in the field
Instead of seeing the number entered, it is replaced with
[Object object] and therefore fails validation.
This doesn’t happen with number fields directly in the model, nor when the block is used within a Modular Content field, only when the block is used within the Structured Text field.