mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[ADD] web_widget_text_count
This commit is contained in:
committed by
Denis Leemann
parent
8025ea938d
commit
c4400a72f7
3
web_widget_text_count/readme/CONTRIBUTORS.rst
Normal file
3
web_widget_text_count/readme/CONTRIBUTORS.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
* Yannick Vaucher <yannick.vaucher@camptocamp.com>
|
||||
* Simone Orsi <simone.orsi@camptocamp.com>
|
||||
* Vyshnevska Iryna <i.vyshnevska@mobilunity.com>
|
||||
4
web_widget_text_count/readme/DESCRIPTION.rst
Normal file
4
web_widget_text_count/readme/DESCRIPTION.rst
Normal file
@@ -0,0 +1,4 @@
|
||||
Widget ``text_count`` displays a character counter next to the text field.
|
||||
If in xml you setup additional attribute size for this field, counter will show
|
||||
amount characters you left for this field, and will prohibit further input when
|
||||
maximum is reached.
|
||||
3
web_widget_text_count/readme/ROADMAP.rst
Normal file
3
web_widget_text_count/readme/ROADMAP.rst
Normal file
@@ -0,0 +1,3 @@
|
||||
Patch Text class on Python level to allow propagation of size same as in Char fields.
|
||||
At the moment the size attribute can be applied only as an attribute on the <field/> tag.
|
||||
Support inline position of the counter next to the textarea.
|
||||
5
web_widget_text_count/readme/USAGE.rst
Normal file
5
web_widget_text_count/readme/USAGE.rst
Normal file
@@ -0,0 +1,5 @@
|
||||
.. code-block:: xml
|
||||
|
||||
<field name="text" widget="text_count" size="250"/>
|
||||
or
|
||||
<field name="text" widget="text_count"/>
|
||||
Reference in New Issue
Block a user