[New Feature] Default value for fields

We just added the ability to have default values for fields. That way, when a new thing is created, if there is no value set for a field, the default one will be used. Note that that only happens at the creation of a thing, and things that are already created won’t be impacted.

You can change these in the data tab.

6 Likes

@emmanuel does it change anything for boolean fields? I mean, prior to this an empty boolean field was interpreted as false. Is it still working this way?

Thanks.

It doesn’t change anything, except if you set the default value to true.

1 Like

If a "0"value is set, it will be displayed? Right now if is “0” it is displayed in blank.

What happens if you add a new field to the database ? Does this set all the rows to the default ? Does this work in live too @emmanuel ?

2 Likes