https://bugzilla.wikimedia.org/show_bug.cgi?id=25914

           Summary: A new input type for an enumeration with multiple
                    values allowed
           Product: MediaWiki extensions
           Version: any
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: SemanticForms
        AssignedTo: yaro...@gmail.com
        ReportedBy: trues...@gmail.com
                CC: wikibugs-l@lists.wikimedia.org, trues...@gmail.com


In your (Yaron's) words:

"A new input type for an enumeration with multiple values allowed - 
instead of a listbox or checkboxes, have each additional value be 
selectable using a separate dropdown, with the ability to add or 
remove dropdowns using buttons."

Synopsis:

On a form, a declaration that might be similar to

Contributors:
{{field|Names|input type=combobox|multiple|add_button_text="Add another name"}}

would result in a form showing

Contributors:
[Add another name]  <= button 

Action: hit the [Add another name] button and select Rick Jones

Contributors:
Rick Jones        [Remove] 
[Add another name]

Action: hit the [Add another name] button and select Bruce Banner

Contributors:
Rick Jones        [Remove] 
Bruce Banner      [Remove] 
[Add another name]

Today, this can be done with SIO, a separate template, and the multiple keyword
when used on a Form:page.  However, that reduces the flexibility of the form
layout since the separate template needs to be outside of the "main" template
on the form.  There are a few other advantages / disadvantages that I can bring
up in comments if necessary, so I can keep this as short as possible.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to