• ValuePicker: extlib.dijit.PickerListSearch incompatible with field typeahead

    By Paul S Withers 1 decade ago

    You can set the dojoType extlib.dijit.PickerListSearch on a Value Picker to enable searching in the dialog. You can set typeahead on an Edit Box control that it's bound to. But if you combine the two, there is an incompatibility and a client-side JavaScript error occurs "TypeError: dj._extractLabel is not a function"

    Steps to reproduce:

    1. Open the Domino _Pickers XPage in the Extension Library Demo database. The first Edit Box control on the Value Pickers tab has typeahead enabled, checking against ValuePicker1.
    2. Click on the Value Picker associated to the control (ValuePicker1 component).
    3. Set dojoType property to "extlib.dijit.PickerListSearch"
    4. Preview the XPage and ebale Firebug.
    5. Click on the Value Picker icon and try to select a value - the JavaScript error occurs.
    6. Refresh the page and type a value into the field. Typeahead works fine, but when you try to click on the Value Picker icon, the JavaScript error occurs.

     

    • This is a known behaviour

      By Paul Hannan 1 decade ago

      and is currently working as designed. A feature request (PHAN92PMJQ) has been logged to get this addressed.