Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

FormHelper: Allow a boolean value for the disabled attribute in function radio #321

Closed
wants to merge 31 commits into from

9 participants

@ingk

To disable options in a radio button list you can set an array with keys, but it's not possible to set disabled => true to disable all values. In CakePHP 1.x this behavior was present.

markomarkovic and others added some commits
@markomarkovic markomarkovic Fixed inconsistent debug parameters and empty '(line )' 73429b3
@markomarkovic markomarkovic Updated tests for debug() c7363bb
@markomarkovic markomarkovic Updated test for debug
It now detects being called from CLI
4e702b2
@markstory markstory Fix more strict errors.
Fix strict errors in test files.
Remove a test in CakeEmail as array -> string causes a notice
in PHP 5.4
87f5b6c
@shama shama Add missing @link to docs if available to helpers 4e8239a
@ADmad ADmad Merge pull request #316 from shama/2.0
Added missing @link to docs for helpers
a821723
@shama shama Add @link to File and Folder utilities 3248e34
@shama shama Add test cases to include $exceptions with Folder::chmod() d725869
@renan renan Merge pull request #317 from shama/2.0
Add @link to File and Folder utilities
9d82cd9
@ceeram ceeram adding testcase for saving habtm associations with no primary model d…
…ata set
37a932b
@ceeram ceeram Merge branch '2.0' of github.com:cakephp/cakephp into 2.0 bc5b6f7
@shama shama Update to assertEquals on Folder tests 1ebaaf4
@ceeram ceeram adding sort on testresults, to avoid incorrect order returned by MySQL 9fd0430
@lorenzo lorenzo Merge pull request #318 from shama/folder-test
Add test cases to include $exceptions with Folder::chmod()
55d4fd3
@markstory markstory Fix ambiguous content types in RequestHandler.
Treat xhtml + html as content types that should trigger no
response/extension setting.  They are different but similar in
that they both generally use the same HTML templates.

Fixes #2257
6e4493c
@ceeram ceeram Removing _Token from request data.
It is not used outside the component and could possibly affect Model::save().
Fixes #2256

Signed-off-by: mark_story <mark@mark-story.com>
2bb4ed0
@ADmad ADmad Fixing TMP cleanup code in FolderTest 8450b8b
@ceeram ceeram Fix tests which might fail due to unexpected order on finds 025133d
@ceeram ceeram Fix failing test, moving timestamp define before the save to ensure i…
…t cannot be off by a second
3cb5188
@ceeram ceeram Add sorting on joined model virtual field, fixes #2250 e5c8a44
@markstory markstory Add CakeRequest::__isset()
Fixes #2266
9c5ad71
@markstory markstory Add stricter validation to TestTask.
Empty classnames, and classnames without the correct type suffix
are no longer accepted.  They did the wrong thing anyways.

Fixes #2267
8981f49
@markstory markstory Merge pull request #297 from markomarkovic/73429b357f06cd76f35d81482d…
…d789b1737fe2b9

Fixed inconsistent debug parameters and empty '(line )'
2c5350b
@shama shama Replacing test case compatibility functions 98f03dc
@shama shama Test case compatibility assertIsA() to assertInstanceOf() c97dca1
@shama shama Test case compatibility skipUnless() to markTestSkipped() 99793fd
@markstory markstory Removing extra new lines.
Removing extra new lines and duplicated tests.
2f599e8
@markstory markstory Update comment. 92aea9d
@ceeram ceeram Add back missing .sql files, related to pull request 132 on docs repo b380b5e
@ceeram ceeram use old timestamp variable, to ensure test to pass 0f299a1
@ingk ingk Allow a boolean value for the disabled attribute in function radio. S…
…ame behavior like in CakePHP 1.3
d22ac71
@AD7six
Collaborator

Please change the target branch to be 2.0 if it's a bug fix or 2.1 if it's an enhancment.

@ingk ingk closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 4, 2011
  1. @markomarkovic
  2. @markomarkovic
Commits on Nov 5, 2011
  1. @markomarkovic

    Updated test for debug

    markomarkovic authored
    It now detects being called from CLI
Commits on Nov 14, 2011
  1. @markstory

    Fix more strict errors.

    markstory authored
    Fix strict errors in test files.
    Remove a test in CakeEmail as array -> string causes a notice
    in PHP 5.4
  2. @shama
  3. @ADmad

    Merge pull request #316 from shama/2.0

    ADmad authored
    Added missing @link to docs for helpers
Commits on Nov 15, 2011
  1. @shama
  2. @shama
  3. @renan

    Merge pull request #317 from shama/2.0

    renan authored
    Add @link to File and Folder utilities
  4. @ceeram
  5. @ceeram
  6. @shama
  7. @ceeram
  8. @lorenzo

    Merge pull request #318 from shama/folder-test

    lorenzo authored
    Add test cases to include $exceptions with Folder::chmod()
Commits on Nov 16, 2011
  1. @markstory

    Fix ambiguous content types in RequestHandler.

    markstory authored
    Treat xhtml + html as content types that should trigger no
    response/extension setting.  They are different but similar in
    that they both generally use the same HTML templates.
    
    Fixes #2257
  2. @ceeram @markstory

    Removing _Token from request data.

    ceeram authored markstory committed
    It is not used outside the component and could possibly affect Model::save().
    Fixes #2256
    
    Signed-off-by: mark_story <mark@mark-story.com>
  3. @ADmad
  4. @ceeram
  5. @ceeram

    Fix failing test, moving timestamp define before the save to ensure i…

    ceeram authored
    …t cannot be off by a second
  6. @ceeram
Commits on Nov 17, 2011
  1. @markstory

    Add CakeRequest::__isset()

    markstory authored
    Fixes #2266
  2. @markstory

    Add stricter validation to TestTask.

    markstory authored
    Empty classnames, and classnames without the correct type suffix
    are no longer accepted.  They did the wrong thing anyways.
    
    Fixes #2267
  3. @markstory

    Merge pull request #297 from markomarkovic/73429b357f06cd76f35d81482d…

    markstory authored
    …d789b1737fe2b9
    
    Fixed inconsistent debug parameters and empty '(line )'
  4. @shama @markstory

    Replacing test case compatibility functions

    shama authored markstory committed
  5. @shama @markstory

    Test case compatibility assertIsA() to assertInstanceOf()

    shama authored markstory committed
  6. @shama @markstory

    Test case compatibility skipUnless() to markTestSkipped()

    shama authored markstory committed
  7. @markstory

    Removing extra new lines.

    markstory authored
    Removing extra new lines and duplicated tests.
  8. @markstory

    Update comment.

    markstory authored
  9. @ceeram
  10. @ceeram
  11. @ingk

    Allow a boolean value for the disabled attribute in function radio. S…

    ingk authored
    …ame behavior like in CakePHP 1.3
Something went wrong with that request. Please try again.