ideas icon indicating copy to clipboard operation
ideas copied to clipboard

Finer control over Required Fields

Open binoclard opened this issue 2 years ago • 2 comments

I am building some kind of "administrative" tool, with massive Fieldsets / Blueprints, tons of different Fields, that will have to be "Required".

If I make them Required from the start, it is a pain to test Entries, as you have to fill each and every Field every time… It gets old quickly enough. Changing that setting later, for dozens of Fields, requires either adding lines in multiple files, or making several clicks for each Field in the CP.

I was wondering if there could be an easier way to mark a Field as Required.

  • a quick toggle on the Field (near the % and the trash icon?) would help eliminate clicks.

But ultimately it would be really nice to have some kind of "master" config file required_fieldsets.yamlor something, that centralizes control over "Required" settings:

Required:
  some_field
  some_other_field
  especially_this_field
  and_this_one_too

Hope it makes sense? I realise my use case is not necessarily the most frequent, but I think it could be a nice addition to smooth UI/UX even more.

Thanks

binoclard avatar Oct 14 '22 08:10 binoclard

The "master" config file you're suggeting... I'll say right now that won't be a thing.

But the toggle shortcut could be. The same way you adjust widths and set whether a field is localizable. That could be nice.

jasonvarga avatar Oct 14 '22 14:10 jasonvarga

But the toggle shortcut could be. The same way you adjust widths and set whether a field is localizable. That could be nice.

Yay ^__^

binoclard avatar Oct 14 '22 14:10 binoclard