thedevdojo/voyager

Add type "disabled" in field types

开放

#1,261 创建于 2017年5月17日

 (16 条评论) (0 个反应) (1 位负责人)PHP (2,652 个派生)batch import
Technical Debtfeaturehelp wanted

仓库指标

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

描述

  • Laravel Version: 5.4.x
  • Voyager Version: 0.10.11
  • PHP Version: 7
  • Database Driver & Version: 5

Description:

Would be great to have the field type as disable, for the cases we just want to show the value, but not allow to edit it. Or even to show it as text (not textfield) Currentlty we need to validate IF field->name =='something" then apply the disable property, or with Jquery and look for the field and apply the property

贡献者指南