[dev] Re: [cvs] commit: horde/lib/Form Renderer.php
Marko
marko at oblo.com
Mon Feb 10 17:34:19 PST 2003
well as it was before if there was a field _getEnumType('' => 'select:', '1' =>
'one', '2' => 'two') and a user left it unselected, hence '' it would display as
'select:' when viewing the form inactive.
you reckon we should assign a special value to the 'select:' option? '__null'
perhaps? as an extra option of the Enum type? and then filter for that?
m.
Quoting Chuck Hagenbuch <chuck at horde.org>:
> Quoting Marko Djukic <tech at oblo.com>:
>
> > Log:
> > fix the display also so that a selection with no value is not
> > displayed, allowing for example '' => '-- select from below --' to be set
> > in the array
>
> I don't understand why this is necessary; because people were selecting
> those entries? Shouldn't they just be dropped from the list, or marked as
> invalid entries somehow, instead?
>
> -chuck
>
> --
> Charles Hagenbuch, <chuck at horde.org>
> must ... find ... acorns ... *thud*
>
> --
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org
>
More information about the dev
mailing list