Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runboat

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.

Table of contents

Usage

<field name="text" widget="text_count" size="250"/>
or
<field name="text" widget="text_count"/>

Known issues / Roadmap

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.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • Camptocamp SA

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/web project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Metadata

Release files for odoo12-addon-web-widget-text-count 12.0.1.0.0.99.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo12-addon-web-widget-text-count 12.0.1.0.0.99.dev2
File Interpreter ABI Platform
odoo12_addon_web_widget_text_count-12.0.1.0.0.99.dev2-py3-none-any.whl Python 3 none any Details

Release files / odoo12_addon_web_widget_text_count-12.0.1.0.0.99.dev2-py3-none-any.whl

Download URL odoo12_addon_web_widget_text_count-12.0.1.0.0.99.dev2-py3-none-any.whl
Size 23.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc2c2943b5496fae58ef8a5d75e36f08ee4a97eb6680c26eac4c18298585fb3e
BLAKE2b-256 checksum
How to use checksums
6e4f22d12407aba249eb9c021d9168a3a06bc901b85f9fdcfd31f179d34eaa8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page