Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable/Disable button for list elements #89

Open
ausi opened this issue Oct 26, 2017 · 6 comments
Open

Enable/Disable button for list elements #89

ausi opened this issue Oct 26, 2017 · 6 comments
Assignees

Comments

@ausi
Copy link
Member

ausi commented Oct 26, 2017

Add an enable/disable button (eye icon) to every list item.

Open questions:

  • How should disabled elements count for the maxItems and minItems configuration?
  • Should the item be removed from the data before passing it to the template?
    Or should it be left to the template to exclude disabled items in the output?
  • Should this button be always present, or should it be configurable?

Please vote with 👍 if you’d like to see this feature implemented.

@ausi ausi self-assigned this Oct 26, 2017
@neckarpixel
Copy link

IMHO: disabled is disabled. So the item will not be generated in FE Template.

@zonky2
Copy link

zonky2 commented Oct 2, 2019

IMHO:
basic implementation:

  • How should disabled elements count for the maxItems and minItems configuration? => no, too much calculation
  • Should the item be removed from the data before passing it to the template? => yes, disabled is disabled...
  • Should this button be always present, or should it be configurable? => no, always present

advanced implementation:

  • How should disabled elements count for the maxItems and minItems configuration? => yes, if is possible
  • Should the item be removed from the data before passing it to the template? => yes, disabled is disabled...
  • Should this button be always present, or should it be configurable? => yes, default is present

@cmartin6
Copy link

Is this feature still relevant? I would love to see this...

@landzone21
Copy link

I would also need this feature and would be happy to get it.

@ausi
Copy link
Member Author

ausi commented Jul 27, 2021

There is always a possibility: https://github.com/sponsors/ausi ☺️

github-sponsor

@Metis77
Copy link

Metis77 commented Aug 7, 2023

gespendet.
wäre schon ein ziemlich tolles feature.

Vorschlag von @zonky2 finde ich super:

  • How should disabled elements count for the maxItems and minItems configuration? => no, too much calculation
  • Should the item be removed from the data before passing it to the template? => yes, disabled is disabled...
  • Should this button be always present, or should it be configurable? => no, always present

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants