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

Feature Request: add disabled option for dropdown entries #110

Open
seizan8 opened this issue Jun 13, 2022 · 1 comment
Open

Feature Request: add disabled option for dropdown entries #110

seizan8 opened this issue Jun 13, 2022 · 1 comment

Comments

@seizan8
Copy link

seizan8 commented Jun 13, 2022

It would be nice if I could disable options in the dropdowns (select and multi_select).

The reason is simple: some options are sometimes temporarily unavailable. Basically, we have to wait for some deliveries until we can offer a specific option again. So that option can be unavailable for a month or so.

Ideally, one could enable and disable option for each channel. Though, as long as nobody is requesting that I don't think it's worth the effort. A general "disable/enable" option for dropdown options would be great already.

In the frontend the option would simple be disabled. I am not sure how easy the form validations would be as Sylius validations are sometimes a bit tricky.

Here's an image as example how this could look in the backend
grafik

@mamazu
Copy link
Collaborator

mamazu commented Jun 17, 2022

That is actually a great idea. If you want to contribute something feel free to do so because sadly I don't have any time to do it myself.

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

No branches or pull requests

2 participants