It would be good to be able to check if the current selected form field value is the default or not.
Example:
$active = $field->value != $field->default ? true : false;
Right now default always return null as it is not in the allowed __get list.
Add 'default' to the switch case for FormField::__get function.
Labels |
Added:
No Code Attached Yet
|