thedevdojo/voyager

Create decimal fields with precision

开放

#3,793 创建于 2018年12月7日

 (14 条评论) (2 个反应) (0 位负责人)PHP (2,652 个派生)batch import
help wantedtype:bug

仓库指标

星标
 (11,817 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南