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

Bug: set_checkbox, set_radio not working default true. #3228

Closed
yks118 opened this issue Jul 5, 2020 · 0 comments
Closed

Bug: set_checkbox, set_radio not working default true. #3228

yks118 opened this issue Jul 5, 2020 · 0 comments
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@yks118
Copy link

yks118 commented Jul 5, 2020

Describe the bug
form_helper.php load and code write set_checkbox('field', 'value', true); return value ''.
not return ' checkbox="checked"'.

CodeIgniter 4 version
4.0.3
4.0.2 is work.

Affected module(s)
/system/Helpers/form_helper.php

Expected behavior, and steps to reproduce if appropriate
/app/Controllers/BaseController.php in form_helper.php load.
view folder write code.

var_dump(set_checkbox('field', 'value', true));

return value is ''.
method GET not POST.

Context

  • OS: Ubuntu 18.04
  • Web server: nginx/1.19.0
  • PHP version: PHP 7.4.7
@yks118 yks118 added the bug Verified issues on the current code behavior or pull requests that will fix them label Jul 5, 2020
@MGatner MGatner closed this as completed in 3cccf21 Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

1 participant