Title: Checkbox behavior &#8211; bug fix
Last modified: October 21, 2021

---

# Checkbox behavior – bug fix

 *  Resolved [deltafactory](https://wordpress.org/support/users/deltafactory/)
 * (@deltafactory)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/checkbox-behavior-bug-fix/)
 * When using the PostSnippets admin, the checkbox to check all boxes doesn’t work
   on an entry if the checkbox for that entry had been previously toggled.
 * I believe this is because the checked attribute sets the default state while 
   the checked property sets the current state of the input. After interacting with
   a checkbox, the default state has been overridden.
 * This should be a minor change in the JS, setting the checked property within 
   the “check all” change event.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/checkbox-behavior-bug-fix/#post-14991105)
 * Hi [@deltafactory](https://wordpress.org/support/users/deltafactory/),
 * Thank you for contacting us,
 * We are checking this and we will keep you posted on this.
 * Thanks
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/checkbox-behavior-bug-fix/#post-15006459)
 * Hi [@deltafactory](https://wordpress.org/support/users/deltafactory/),
 * Thanks for pointing this out, We have fixed the issue and shared the updated 
   plugin [link ](https://drive.google.com/file/d/1bHm_pL6TKvyh7dUK5aFTDMSGsHTjTD3Y/view?usp=sharing).
 * Let us know if you have any questions.
 * Thanks
 *  Thread Starter [deltafactory](https://wordpress.org/support/users/deltafactory/)
 * (@deltafactory)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/checkbox-behavior-bug-fix/#post-15020112)
 * I was unable to test before you moved the file to the trash. Also, we are using
   the premium version and wouldn’t want to downgrade.
 * We’ll wait for the next release of the plugin. Thanks for fixing it so quickly!
 *  [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * (@arsalantariq)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/checkbox-behavior-bug-fix/#post-15024140)
 * Hi [@deltafactory](https://wordpress.org/support/users/deltafactory/),
 * Can you please test now.
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Checkbox behavior – bug fix’ is closed to new replies.

 * ![](https://ps.w.org/post-snippets/assets/icon-128x128.gif?rev=2545587)
 * [Post Snippets - Custom WordPress Code Snippets Customizer](https://wordpress.org/plugins/post-snippets/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-snippets/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-snippets/)
 * [Active Topics](https://wordpress.org/support/plugin/post-snippets/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-snippets/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-snippets/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [A.Tariq](https://wordpress.org/support/users/arsalantariq/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/checkbox-behavior-bug-fix/#post-15024140)
 * Status: resolved