plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: enum on Model Creation

Open IsaacHatilima opened this issue 1 year ago • 2 comments

Feature Description

  1. When creating a model with other file like resource, request etc. It would be nice to be able to define a column as enum and pass the enum options or just enum and pass the options post creation.
  2. Adding $guarded and $hidden as is with $fillable. For people like me who prefer to use $guarded over $fillable, an option to add the $guarded array would be nice to have.

IsaacHatilima avatar Oct 14 '24 12:10 IsaacHatilima

  1. We will try to add an enum and other options in one of the next iterations.
  2. How should $guarded shoule be filled?

adelf avatar Oct 18 '24 16:10 adelf

In settings we can have a toggle to enable guarded then it shows along the Nullable checkbox. That way we the elegant look still maintains by default.

IsaacHatilima avatar Oct 18 '24 17:10 IsaacHatilima