× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

How to get a decimal field to default to an empty value?

3 years 2 months ago #9817 by Steven Fung
If I create a DECIMAL(5,4) field then the default value in the admin form is "0.0000".

Does anyone know how I can get this to default to an empty value instead? I can do this overriding the back end code but wondering if there's an option in the creator interface that will let me do this more easily?

Thanks,
Steve.

Please Log in or Create an account to join the conversation.

2 years 11 months ago - 2 years 11 months ago #9851 by Emmanuel Tsalampounis
Replied by Emmanuel Tsalampounis on topic How to get a decimal field to default to an empty value?
Hello Steven,
There are some recent changes on the J4 version of component-creator for the way that values are stored.
If you are a premium member please create a support request to check your component and tell you if that is possible to set the empty value by default.
Last edit: 2 years 11 months ago by Emmanuel Tsalampounis.

Please Log in or Create an account to join the conversation.

Time to create page: 0.148 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.