diff --git a/src/components/Select/Select.jsx b/src/components/Select/Select.jsx index 92f300a7e..34e03dd45 100644 --- a/src/components/Select/Select.jsx +++ b/src/components/Select/Select.jsx @@ -36,6 +36,7 @@ const Select = (props) => { createOptionPosition="first" className={containerclass} classNamePrefix="react-select" + isClearable /> ) } diff --git a/src/projects/detail/components/BillingAccountField/index.js b/src/projects/detail/components/BillingAccountField/index.js index f906a2927..73f6b6611 100644 --- a/src/projects/detail/components/BillingAccountField/index.js +++ b/src/projects/detail/components/BillingAccountField/index.js @@ -72,7 +72,7 @@ class BillingAccountField extends React.Component { handleChange(value) { this.setState({ selectedBillingAccount: value }) - this.props.setValue(value.value) + this.props.setValue(value ? value.value : null) } render() { @@ -89,6 +89,7 @@ class BillingAccountField extends React.Component { value={this.state.selectedBillingAccount} options={this.state.billingAccounts} isDisabled={this.state.billingAccounts.length === 0} + showDropdownIndicator /> {/* Hide this link because we haven't implemented a required page in SFDC yet */} {/*