Skip to content

Releases

Version 0.3.0

Choose a tag to compare

@github-actions github-actions released this 28 Oct 00:25
0.3.0
856e1cf
-------------

Released 2026-10-28

- The listbox is a ``<div role="listbox">``, and each suggestion is the
  submit button itself, with ``role="option"`` and ``data-value``.
  Before, a ``<li role="option">`` held the button, and screen readers
  announced a button instead of an option. An override of
  ``ListboxWidget.render_option`` now returns ``button(label=...)``
  instead of a ``<li>``.
- ``combobox.js`` keeps the focus in the query input while an option is
  pressed, so a click on a suggestion works in Safari.
- ``combobox.js``: a click in an element with ``data-combobox-field``,
  such as a chip, focuses the query input and opens the listbox.

Version 0.2.0

Choose a tag to compare

@github-actions github-actions released this 27 Oct 22:48
0.2.0
b5b0948
-------------

Released 2026-10-27

- ``ComboboxWidget`` renders its ``<div>`` with ``data-combobox``, and
  each chip's ``×`` has ``data-combobox-remove``. The example script and
  CSS use these attributes instead of the CSS classes of the example
  app. A template that renders the parts one by one must put
  ``data-combobox`` on the element that holds them.
- The npm package ``wtforms-htmx-components`` ships the combobox script,
  as ``combobox.js``, and the CSS rules it needs, as ``combobox.css``.

Version 0.1.2

Choose a tag to compare

@github-actions github-actions released this 27 Oct 20:58
0.1.2
cddeb62
-------------

Released 2026-10-27

- After a click on a chip's ``×``, the focus goes back to the query
  input.
- In the example script, a closed listbox opens again on a click on the
  query input, or when the focus comes back to the combobox. Before, it
  stayed hidden until the user typed.

Version 0.1.1

Choose a tag to compare

@github-actions github-actions released this 24 Oct 23:00
0.1.1
d8e2726
-------------

Released 2026-10-25

- ``min_query_length`` sets the query length from which the listbox
  shows options. With ``0``, a short list shows all its options when
  the query input gets the focus.

Version 0.1.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 22:02
0.1.0
d45287e
-------------

Released 2026-10-23

- Initial release.