Skip to content

Conversation

@ewang7421
Copy link

Adds a default checked state for checkboxes, and calls the action parameter at initialization.

@ewang7421 ewang7421 changed the title add defaultState parameter add defaultState to checkbox parameter Sep 1, 2025
Copy link
Owner

@MasterBel2 MasterBel2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, and great catch on the typo. Wow. First PR on my repo! This is a huge milestone for me. I thought this would never happen!

Thanks for making my day :)

end

checkbox:SetChecked(checked)
action(checkbox, checked)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer we don't call this, and leave the caller to decide whether the action needs to be performed to set initial state or not

@ewang7421
Copy link
Author

ignore new changes; I pushed them by mistake.

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.

2 participants