InputfieldAsmSelect class

AsmSelect is a sortable multiple-select Inputfield

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the InputfieldAsmSelect class also inherits all the methods and properties of: InputfieldSelectMultiple, InputfieldSelect, Inputfield, WireData and Wire.

Show class?     Show args?       Only hookable?    

Properties

NameReturnSummaryDefault
InputfieldAsmSelect::addItemTarget string Where to place new selected items in list: top or bottom 'bottom'
InputfieldAsmSelect::addable bool Can items be added to selection? true
InputfieldAsmSelect::animate bool Animate the the adding/removing of items in the list? false
InputfieldAsmSelect::debugMode bool Debug mode keeps original select visible false
InputfieldAsmSelect::deletable bool Can items be removed from selection? true
InputfieldAsmSelect::deletedOpacity float string Opacity of deleted item, set to 1.0 to disable opacity adjustment (applicable only if hideDeleted=true) 
InputfieldAsmSelect::deletedPrepend string Deleted item values are prepended with this character in the form submission (applicable only if hideDeleted=true) '-'
InputfieldAsmSelect::editLabel string Text used in the "edit" link (if editLink is populated) 
InputfieldAsmSelect::editLink string Optional URL options can link to with tag {value} replaced by option value, i.e. /path/to/page/edit?id={$value} 
InputfieldAsmSelect::editLinkButtonSelector string Button selector for finding buttons that should become modal window buttons 
InputfieldAsmSelect::editLinkModal string bool Whether the edit link (if used) should be modal or "longclick" for longclick modal only true
InputfieldAsmSelect::editLinkOnlySelected bool When true, edit link only appears for items that were already selected true
InputfieldAsmSelect::fieldset bool Use fieldset support? (for PW Fieldset types) false
InputfieldAsmSelect::hideDeleted bool Hide items when deleted. If false, items remain but are marked for deletion true
InputfieldAsmSelect::hideWhenEmpty bool Hide the <select> when there are no items available to select? false
InputfieldAsmSelect::highlight bool Use the highlight feature? false
InputfieldAsmSelect::highlightAddedLabel string Text that precedes highlight of added item 'Added: '
InputfieldAsmSelect::highlightRemovedLabel string Text that precedes highlight of removed item 'Removed: '
InputfieldAsmSelect::removeLabel string Text used in the "remove" link 
InputfieldAsmSelect::sortLabel string Sortable handle/icon 
InputfieldAsmSelect::sortable bool Should the list be sortable? true
InputfieldAsmSelect::usePageEdit int bool Use page editor links for selected Page items, when user has edit permission? false

Additional methods and properties

In addition to the methods and properties above, InputfieldAsmSelect also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251