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

Added enable() option for createSelect() #6132

Merged
merged 8 commits into from
May 14, 2023
Merged

Conversation

Aqmalp99
Copy link
Contributor

@Aqmalp99 Aqmalp99 commented May 5, 2023

Resolves #6077

Changes:

Previously, there was no way to 'enable' option for createSelect(), once they were disabled. However, users were allowed to 'disable' options. So we have implemented a solution for this in dom.js. The disable() method that has been implemented is a duplicate of the enable() method, but in reverse.

PR Checklist

fG40912 and others added 8 commits April 7, 2023 11:29
What is the test case:
The test case is from p5 docs createSelect() example code
…dom.js file and created an example to showcase enable method
However, this file is no longer needed due to the issue being resolved.
This file is no longer needed as it is not needed for the feature added
@welcome
Copy link

welcome bot commented May 5, 2023

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

@limzykenneth limzykenneth merged commit 7b67ed5 into processing:main May 14, 2023
@limzykenneth
Copy link
Member

Looks good. Thanks!

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.

p5.dom createSelect() options enable()
6 participants