Update lib/Cake/View/Helper/FormHelper.php #964

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
@kbhagchandani

Added support for enum type
Upto 3 constants at enum type system will generate radio buttons for example most commonly used
gender enum('male','female')
for greater the HTML dropdown is applied

Update lib/Cake/View/Helper/FormHelper.php
Added support for enum type
Upto 3 constants at enum type system will generate radio buttons for example most commonly used
gender enum('male','female')
for greater the HTML dropdown is applied
@lorenzo

This comment has been minimized.

Show comment Hide comment
@lorenzo

lorenzo Nov 18, 2012

Owner

Sorry, but CakePHP does not support enums. You can override the FormHelper and add that code to the input function if you need to in your application. Thanks for the patch anyway :)

Owner

lorenzo commented Nov 18, 2012

Sorry, but CakePHP does not support enums. You can override the FormHelper and add that code to the input function if you need to in your application. Thanks for the patch anyway :)

@lorenzo lorenzo closed this Nov 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment