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

Updated to allow for options disable #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Rpgdudester
Copy link

I noticed that when i put a disabled flag on an option during a foreach loop, it was not carrying the flag over to show that the option was disabled.

So I went into the file and added in a disabledvalue check to check for the disabled flag, if it has the flag, add disableitem (with disabled='true') to the item, otherwise, ignore it.

I figure this may help other people who need to disable certain items for a certain reason.

Added in checks to see if option has disabled attribute, if they do, disable the option, otherwise, carry on.
@vercel
Copy link

vercel bot commented May 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
dselect ✅ Ready (Inspect) Visit Preview May 2, 2022 at 6:49PM (UTC)

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

Successfully merging this pull request may close these issues.

1 participant