whitecube / nova-flexible-content

Flexible Content & Repeater Fields for Laravel Nova
MIT License
788 stars 228 forks source link

Is there a way to keep layouts collapsed by default in the edit screen? #378

Open samah5751 opened 2 years ago

samah5751 commented 2 years ago

Is there a way to easily enable a feature to keep all layouts collapsed by default when viewing the edit screen? if there are lots of layout elements in a resource it can get very difficult to scroll through everything to find the layout I want to edit.

Also is it possible to add a text field data to section title so sections can be identified easily when they are collapsed?

Any possibilities please?

Keep collapsed Option to add a dynamic title .

voidgraphics commented 2 years ago

For the collapsed by default, it shouldn't be too hard to add an option on the field for that.

For the preview, that's a little trickier. How would you handle using non-textfield values?

Feel free to send in a pull request.

fedeisas commented 1 year ago

@samah5751 @voidgraphics I implemented this on #406