We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
11.2.2
[ 'type' => 'numeric', 'label' => 'image_count', 'name' => 'imageCount', 'config' => [ 'minValue' => 1, 'decimalPrecision' => 0 ] ]
After saving and reopen the number is still "1.52".
This is because the decimalPrecision option is hardcoded in vendor/pimcore/admin-ui-classic-bundle/public/js/pimcore/document/editables/numeric.js
After input change the number should transform to "2". Should be an option as stated in https://pimcore.com/docs/platform/Pimcore/Documents/Editables/Numeric/#advanced-usage
The text was updated successfully, but these errors were encountered:
@marvin-bilharz I created a PR: pimcore/admin-ui-classic-bundle#507
Sorry, something went wrong.
No branches or pull requests
Pimcore version
11.2.2
Steps to reproduce
[ 'type' => 'numeric', 'label' => 'image_count', 'name' => 'imageCount', 'config' => [ 'minValue' => 1, 'decimalPrecision' => 0 ] ]
Actual Behavior
After saving and reopen the number is still "1.52".
This is because the decimalPrecision option is hardcoded in vendor/pimcore/admin-ui-classic-bundle/public/js/pimcore/document/editables/numeric.js
Expected Behavior
After input change the number should transform to "2".
Should be an option as stated in https://pimcore.com/docs/platform/Pimcore/Documents/Editables/Numeric/#advanced-usage
The text was updated successfully, but these errors were encountered: