Skip to content
Snippets Groups Projects
Unverified Commit 6d74a6b3 authored by Maz Ameli's avatar Maz Ameli Committed by GitHub
Browse files

add search boxes to data model pickers (#11912)

parent c184ba2b
No related merge requests found
......@@ -219,6 +219,7 @@ export class SpecialTypeAndTargetPicker extends Component {
optionValueFn={o => o.id}
optionSectionFn={o => o.section}
placeholder={t`Select a special type`}
searchProp="name"
/>
{showCurrencyTypeSelect && selectSeparator}
{// TODO - now that we have multiple "nested" options like choosing a
......@@ -252,6 +253,7 @@ export class SpecialTypeAndTargetPicker extends Component {
<Select
className={cx("TableEditor-field-target text-wrap", className)}
placeholder={t`Select a target`}
searchProp="name"
value={field.fk_target_field_id}
onChange={this.handleChangeTarget}
options={idfields}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment