Enum select with live() on Create and Edit form
Hi All,
I have a question, i use a select with Enum and some dependecie fields/fieldset on this value.
The fieldset
On create record this works, on edit record this works not.
That is because on create
For now i have create a helper to get this to work.
This is how i use it now
It works, but i think there is a better and simpler solution only dont know how.
Can anyone point me in the right direction?
Thanks
I have a question, i use a select with Enum and some dependecie fields/fieldset on this value.
The fieldset
On create record this works, on edit record this works not.
That is because on create
$get('row_type') is Enum and on Edit it is integer even tho i cast it in the model For now i have create a helper to get this to work.
This is how i use it now
It works, but i think there is a better and simpler solution only dont know how.
Can anyone point me in the right direction?
Thanks