thedevdojo/voyager

Create decimal fields with precision

Open

#3,793 建立於 2018年12月7日

在 GitHub 查看
 (14 留言) (2 反應) (0 負責人)PHP (11,817 star) (2,652 fork)batch import
help wantedtype:bug

描述

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

貢獻者指南

Create decimal fields with precision · thedevdojo/voyager#3793 | Good First Issue