[Libreoffice-bugs] [Bug 120282] Form element List Box should disable its Multiselection option, if Dropdown option is set to Yes

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 10 20:04:23 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=120282

--- Comment #2 from Buovjaga <ilmari.lauhakangas at libreoffice.org> ---
(In reply to Christophe Strobbe from comment #1)
> The bug report does not give a sufficiently convincing rationale for
> reducing the number of values that can be chosen from a drop-down list to
> just one value.
> 
> To make a comparison with HTML, the select element has always allowed
> developers to enable the selection of multiple values (by adding the
> attribute "multiple"):
> https://www.w3.org/TR/html52/sec-forms.html#elementdef-select 

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple

"This Boolean attribute indicates that multiple options can be selected in the
list. If it is not specified, then only one option can be selected at a time.
When multiple is specified, most browsers will show a scrolling list box
instead of a single line dropdown."

So the browser implementations are in line with the listbox & dropdown
differences of LibreOffice's form elements.

(In reply to Christophe Strobbe from comment #1)
> Moreover, the ODF 1.3 specification (released in June 2021) does not express
> a limitation either. Subchapter "13.5.13 <form:listbox>" of Part 3 says:
> 
> The <form:listbox> element defines an input control that allows a user to
> select one or more items from a list. It is an alternative representation
> for a group of radio buttons.

Right, as said in bug 72932 comment 22, multiselection for listboxes works
fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210810/5c64597a/attachment.htm>


More information about the Libreoffice-bugs mailing list