Skip to content

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