Hello all,
is it possible to create a decimal collection field using validations?
I was expecting something like this to work, but validations are ignored:
POST https://api.webflow.com/v2/collections/{collection_id}/fields
payload = {
"type": "Number",
"displayName": "new col",
"validations": {
"format": "decimal",
"allowNegative": True,
"precision": 3
}
}
As a result the api creates a field item with default number validations:
... "validations":{"format":"integer","allowNegative":true,"precision":1} ...