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

           Summary: autocompletion allows only existing values
           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


Consider a field that lets a user set a value based on category Wiki Page:

   {{{field|Homepage|autocomplete on category=Wiki Page}}}

Today, this field specification will allow the user to save a value that does
not exist.  I propose that the field be defined so that the final value is
limited to existing values.  For example, 

   {{{field|Homepage|autocomplete on category=Wiki Page|mustexist}}}

The user could still type in a non-existing page, since it's a combobox. 
Existence is verified after the user hits "Save page".  If the value does not
exist within the specified set (category=Wiki Page above), an error message
displays and the form stays open.  This behavior would match that of a
mandatory string field that is empty on "Save page".

-- 
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