thedevdojo/voyager

Add type "disabled" in field types

Open

#1,261 opened on May 17, 2017

View on GitHub
 (16 comments) (0 reactions) (1 assignee)PHP (2,652 forks)batch import
Technical Debtfeaturehelp wanted

Repository metrics

Stars
 (11,817 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  • 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

Contributor guide