Wijmo UI for the Web
forceSelectionText Option

Default value: false

A value that determines whether to check the input text against the text of the selected item when the focus blurs.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  boolean
    returnsValue = $(".selector").wijcombobox("option", "forceSelectionText");
    
    // Set value
    var newValue; // Type:  boolean
    $(".selector").wijcombobox("option", "forceSelectionText", newValue);
        
});
Javascript (Specification) 
var forceSelectionText : boolean;
Remarks
If the text does not match any item, input text will restore to text the selected item or empty if no item is selected.
Browser Compatibility
7
5
5

See Also

Reference

options type
wijcombobox jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.