Small bugfix while searching string fields and added the possibility to define a text-transform on String fields.
This commit is contained in:
parent
ae4bfc9970
commit
ca7b688c00
6 changed files with 39 additions and 25 deletions
|
@ -26,7 +26,8 @@
|
|||
<label tal:attributes="for widgetName" tal:content="python: tool.translate(appyType['label'])"></label><br>
|
||||
<tal:comment replace="nothing">Show a simple search field for most String fields.</tal:comment>
|
||||
<tal:simpleSearch condition="not: appyType/isSelect">
|
||||
<input type="text" tal:attributes="name widgetName"/>
|
||||
<input type="text" tal:attributes="name python: '%s*string-%s' % (widgetName, appyType['transform']);
|
||||
style python: 'text-transform:%s' % appyType['transform']"/>
|
||||
</tal:simpleSearch>
|
||||
<tal:comment replace="nothing">Show a multi-selection box for fields whose validator defines a list of values, with a "AND/OR" checkbox.</tal:comment>
|
||||
<tal:selectSearch condition="appyType/isSelect">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue