Important

You are browsing documentation for version 5.0 of OroCommerce, supported until January 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

AbstractRelationEditorView ⇐ SelectEditorView 

Options in YML 

Column Option Name

Description

inline_editing.editor.view_options.placeholder

Optional. Placeholder for an empty element

inline_editing.editor.view_options.css_class_name

Optional. Additional css class name for editor view DOM element

inline_editing.editor.view_options.input_delay

Delay before user finished input and request sent to server

inline_editing.autocomplete_api_accessor

Required. Specifies available choices

inline_editing.autocomplete_api_accessor.class

One of the list of search APIs

Constructor Parameters 

Extends: SelectEditorView

Param

Type

Description

options

Object

Options container

options.model

Object

Current row model

options.input_delay

Object

Delay before user finished input and request sent to server

options.fieldName

string

Field name to edit in model

options.placeholder

string

Placeholder for an empty element

options.validationRules

Object

Validation rules. See JS Validation topic for more information

options.autocomplete_api_accessor

Object

Autocomplete API specification.