We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Generating radio inputs with Tag::radioField yields the following behavior:
<?php use Phalcon\Tag; echo Tag::radioField(array( 'test', 'value' => 1, 'checked' => 'checked' )); echo "\n"; echo Tag::radioField(array( 'test', 'value' => 0 ));
Output will be:
<input type="radio" value="1" checked="checked" name="test" id="test" /> <input type="radio" value="0" name="test" id="test" checked="checked" />
Output should be:
<input type="radio" value="1" checked="checked" name="test" id="test" /> <input type="radio" value="0" name="test" id="test" />
Tested with latest source from 1.2.2 branch.
Best wishes, Philipp
The text was updated successfully, but these errors were encountered:
Generating the radio buttons yourself using
public static function radioField($params) { return self::_inputField('radio', $params); }
solves the issue. So I guess there's some faulty "magic" happening in radioField.
Sorry, something went wrong.
Tag::radioField is Automatically check inputs. I try fix it. Compare error:
if (PHALCON_IS_EQUAL(current_value, value)) {
Merge pull request #953 from dreamsxin/bug_947
fb64615
Fix bug #947 Tag::radioField Automatically check
Fixed in 1.3.0, thanks
No branches or pull requests
Generating radio inputs with Tag::radioField yields the following behavior:
Output will be:
Output should be:
Tested with latest source from 1.2.2 branch.
Best wishes,
Philipp
The text was updated successfully, but these errors were encountered: