isFilterable={false} possibly not working?

pull/338/head
Rick Carlino 2017-07-07 12:59:18 -05:00
parent d167cabf8f
commit dad75927bb
2 changed files with 4 additions and 4 deletions

View File

@ -64,11 +64,11 @@ export function WeedDetectorConfig(props: SettingsMenuProps) {
{t(`Calibration Object Separation along axis`)}
</label>
<FBSelect
isFilterable={false}
onChange={setDDI("CAMERA_CALIBRATION_calibration_along_axis")}
selectedItem={find("CAMERA_CALIBRATION_calibration_along_axis")}
list={CALIBRATION_DROPDOWNS}
placeholder="Select..."
/>
placeholder="Select..." />
<Row>
<Col xs={6}>
<NumberBox
@ -87,6 +87,7 @@ export function WeedDetectorConfig(props: SettingsMenuProps) {
{t(`Origin Location in Image`)}
</label>
<FBSelect
isFilterable={false}
list={ORIGIN_DROPDOWNS}
onChange={setDDI("CAMERA_CALIBRATION_image_bot_origin_location")}
selectedItem={find("CAMERA_CALIBRATION_image_bot_origin_location")}

View File

@ -35,8 +35,7 @@ export class FBSelect extends React.Component<Props, {}> {
items={this.props.list}
onChange={this.props.onChange}
placeholder={placeholder}
isFilterable={this.props.isFilterable}
/>
isFilterable={this.props.isFilterable} />
</div>;
}
}