thedevdojo/voyager

Create decimal fields with precision

Open

#3 793 ouverte le 7 déc. 2018

Voir sur GitHub
 (14 commentaires) (2 réactions) (0 assignés)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

Guide contributeur