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
If the id is passed in the selectStatic as a parameter, we end up with two id tags in the output.
$params = array( 'some_field_name', 'id' => 'some_id', 'class' => 'some_class', ); $options = array( 'A' => 'Active', 'I' => 'Inactive', ); $expected = '<select id="some_id" name="some_field_name" ' . 'class="some_class">' . PHP_EOL . chr(9) . '<option value="A">Active</option>' . PHP_EOL . chr(9) . '<option value="I">Inactive</option>' . PHP_EOL . '</select>'; $actual = Tg::selectStatic($params, $options); $this->assertEquals( $expected, $actual, sprintf( $this->message, 'selectStatic with id in parameters' ) );
The text was updated successfully, but these errors were encountered:
Branch: Tests Tests: testSelectStaticWithIdInParameters_T54 testSelectStaticWithNameAndNotIdInParameters_T54
Sorry, something went wrong.
This problem was fixed yesterday, can you check it please?
Confirmed. Tests pass.
Removed comment, I will open a separate issue.
No branches or pull requests
If the id is passed in the selectStatic as a parameter, we end up with two id tags in the output.
The text was updated successfully, but these errors were encountered: