Size of Numeric/Integer fields

Hello community,

how can I set the size of an Ineteger field to 3 for example ?

The size attribute cannot be applied to Integer fields

Also I tried with Numeric digits=(3,0) but it does not take that into consideration.

Indeed the digits is only enforced for decimal (we should probably convert it into a single integer). So if you want to limit the value of an integer, you can just apply a domain on it like [('field', '>', 0), ('field', '<', 1000)].