Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issues related to group repeatable subsequent rows when there is …
…a checkbox or radio input. If the input is a checkbox or radio, the original value is needed or saving will not save the value (subsequent post saves work because inputs will then have the required value set). This patch conditionally adds values to radios and inputs on new repeatable and sets the checked attribute only on the default option (radios). Fixes issue CMB2#257 (this will set reset text inputs as well), and CMB2#246 & CMB2#263(restores radio and checkbox values on new row saves)
- Loading branch information