thedevdojo/voyager

Create decimal fields with precision

Open

#3793 opened on Dec 7, 2018

View on GitHub
 (14 comments) (2 reactions) (0 assignees)PHP (11,817 stars) (2,652 forks)batch import
help wantedtype:bug

Description

Version information

  • Laravel: v5.7
  • Voyager: v1.1.10
  • PHP: 7.x
  • Database: mysql 5.7

Description

If you create a field type decimal, you can't add precision, like 10,8

Steps To Reproduce

Create a field type decimal, if you try to add length to 10,8 it store as 10,0

Expected behavior

Should store decimal precision

Contributor guide