Message5710
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 |
|
Date |
User |
Action |
Args |
2016-07-02 19:18:47 | rouilj | set | messageid: <1467487127.52.0.799276532219.issue2075156@psf.upfronthosting.co.za> |
2016-07-02 19:18:47 | rouilj | set | recipients:
+ rouilj, richard, thomas-weber, shane-green, ajaksu2 |
2016-07-02 19:18:47 | rouilj | link | issue2075156 messages |
2016-07-02 19:18:47 | rouilj | create | |
|