Roundup Tracker - Issues

Message5710

Author rouilj
Recipients ajaksu2, richard, rouilj, shane-green, thomas-weber
Date 2016-07-02.19:18:47
Message-id <1467487127.52.0.799276532219.issue2075156@psf.upfronthosting.co.za>
In-reply-to
Hi all:

On this tracker we just have a '- no selection -' item with
a value set to -1. Is selecting '- no-selection-' if you want no
selection good enough?

Also is the hidden field with the blank value actually supported?
I am concerned that some browsers will get confused with the same
name for different input types. But maybe I am giving browsers too much
credit?

Daniel, one thing I could see being useful is to extend menu() with the
ability
to generate an extra: - no selection - option or generate a hidden field.
That way people don't have to mess with the tal if they call:

            tal:replace="structure
python:context[name].menu(height=height, empty='option|hidden')">

where option adds a -1 valued '- no-selection -' option and hidden
adds a the hidden field.

This could be a useful patch.

Thoughts?

-- rouilj
History
Date User Action Args
2016-07-02 19:18:47rouiljsetmessageid: <1467487127.52.0.799276532219.issue2075156@psf.upfronthosting.co.za>
2016-07-02 19:18:47rouiljsetrecipients: + rouilj, richard, thomas-weber, shane-green, ajaksu2
2016-07-02 19:18:47rouiljlinkissue2075156 messages
2016-07-02 19:18:47rouiljcreate