s: * select-with-other quick patch for renderImmutable
Hi Matt, Attached a quick (an dirty) solution for renderImmutable in class SelectOtherChoice. For me, it's better solution than raising an error ... The SelectOtherChoice - widget is nice and very helpful, Thanks ! Paul Index: widget.py =================================================================== --- widget.py (Revision 164) +++ widget.py (Arbeitskopie) @@ -367,7 +367,9 @@ return tag def renderImmutable(self, ctx, key, args, errors): - raise NotImplemented +## raise NotImplemented + return SelectChoice(self.original, zip(self.options, self.options) + ).renderImmutable( ctx, key, args, errors) def processInput(self, ctx, key, args): value = self._valueFromRequestArgs(key, args)
participants (1)
-
Paul Reznicek