BackPack for Laravel and number in editable columns. Localization in Czech repuplic. We use a comma instead of a decimal point

153 Views Asked by At

I managed to talk Backpack into replacing the decimal point with a comma: config\backpack\base.php

'number_format' => [
        // 'decimals'           => 2,
        'decimal_separator'  => ',',
        'thousands_separator'=> ' ',
    ],

But editable-columns ignore it.

I can't imagine how to achieve this for an editable column of type 'type' => 'editable_text'.

Can you advise me please? Thx

1

There are 1 best solutions below

2
maurohmartinez On

Thank you for bringing this up. Good suggestion!

We took your concern into account and already created a Feature Request to implement a solution.

You can follow it here: https://github.com/Laravel-Backpack/editable-columns/issues/76.

Cheers!