Overview
The <crm:selectOneMenuNextToTextField> tag is used to display an input element next to a select element on the page.
Attributes
Name | Required | Type | Default | Description | ||
---|---|---|---|---|---|---|
className | false | String | null | The class name of the value of the select component. | ||
columnClasses | false | String | ui-grid-col-6,ui-grid-col-6 | Comma separated list of column style classes of the gird layout that will be used to display the component.
| ||
columns | false | Integer | 2 | Number of columns of the gird layout that will be used to display the component. | ||
decimalPlaces | false | Integer | The number of decimal digits that is defined in CRM.COM Formatting Settings. | Number of decimal places. Applicable only for numbers. | ||
displayValue | true | String | null | The displayed value of the left select one menu in view mode. | ||
emptyOptionLabel | false | String | key_select | A valid key defined in translation properties file. Its translation through the glossary will be added as empty item in the collection of available items of the select component | ||
filter | false | Boolean | true | Renders an input field as a filter in select component. | ||
id | true | String | null | Unique identifier of the component. | ||
inputStyle | false | String | text-align: left | Inline style of the input element. Applicable only for numbers. | ||
isInputNumber | false | Boolean | false | Flag indicating that input component is a number or not. | ||
isTextFieldFirst | false | Boolean | true | Flag indicating that input component is displayed first or not. | ||
itemLabel | true | String | name | Label item in overlay for the select component. | ||
labelKey | false | String | null | A valid key defined in translation properties file. Its translation through the glossary will be used as the presentable name of the component. | ||
managedBean | true | String | null | The name of the managed bean that will be used for retrieving the component values. | ||
mandatory | false | Boolean | false | Marks component as required. | ||
mode | false | String | The mode of the managed bean. | The mode of the component. Allowed values are VIEW and EDIT. | ||
onChangeFunction | false | String | null | Defines the function call triggered when select component loses focus and its value has been modified since gaining focus. | ||
optionsList | true | List | null | A collection of available items in overlay for the select component. | ||
process | false | String | @this and the value of the refresh attribute | Component(s) to process in partial request for the select component | ||
readonly | false | Boolean | false | Flag indicating that this component will prevent changes by the user. | ||
refresh | false | String | @this | Component(s) to update with ajax. | ||
showEmptyOption | false | Boolean | true | Flag indicating that empty item should be shown in the collection of available items for the select component. | ||
styleClass | false | String | null | Style class of the component. | ||
symbol | false | String | The prefix of the default currency that is defined in CRM.COM General Settings. | Desired symbol or unit. Applicable only for numbers. | ||
symbolPosition | false | String | p | Position of the symbol. Allowed values are p(prefix) and s(suffix). Applicable only for numbers. | ||
symbol | false | String | The prefix of the default currency that is defined in CRM.COM General Settings. | Desired symbol or unit. Applicable only for numbers. | ||
textFieldValue | true if textFieldVisible=true | String | null | The value of the input component. | ||
textFieldVisible | false | Boolean | true | Controls the visibility of the input component. | ||
tip | false | String | null | A valid key defined in translation properties file. Its translation through the glossary will be used as an advisory tooltip information. | ||
type | false | String | null | The type of the value of the select component. | ||
value | true | String | null | The value of the select component. | ||
visible | false | Boolean | true | Controls the visibility of the component. |
Getting Started
The following example shows a select one menu next to text field component.