× 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 år 10 månader sedan #9817 av 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.

Be Logga in eller Skapa ett konto ansluta till konversationen.

3 år 7 månader sedan - 3 år 7 månader sedan #9851 av Emmanuel Tsalampounis
Svar från Emmanuel Tsalampounis i ämnet 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: 3 år 7 månader sedan by Emmanuel Tsalampounis.

Be Logga in eller Skapa ett konto ansluta till konversationen.

Sidan laddades på: 0.049 sekunder
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.