× 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 11 måneder siden #9817 af 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.

Venligst Log på eller Opret en konto for at deltage i samtalen

3 år 8 måneder siden - 3 år 8 måneder siden #9851 af Emmanuel Tsalampounis
Besvaret af Emmanuel Tsalampounis på emne 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.
Sidste redigering: 3 år 8 måneder siden ved Emmanuel Tsalampounis.

Venligst Log på eller Opret en konto for at deltage i samtalen

Tid til at oprette siden: 0.047 sekunder
Leveret af Kunena Forum

Vi we benytter cookies, så vi bedst muligt kan levere vores services. For mere information, se vores