File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
projects/detail/components/BillingAccountField Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ const Select = (props) => {
3636 createOptionPosition = "first"
3737 className = { containerclass }
3838 classNamePrefix = "react-select"
39+ isClearable
3940 />
4041 )
4142 }
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class BillingAccountField extends React.Component {
7272
7373 handleChange ( value ) {
7474 this . setState ( { selectedBillingAccount : value } )
75- this . props . setValue ( value . value )
75+ this . props . setValue ( value ? value . value : null )
7676 }
7777
7878 render ( ) {
@@ -89,6 +89,7 @@ class BillingAccountField extends React.Component {
8989 value = { this . state . selectedBillingAccount }
9090 options = { this . state . billingAccounts }
9191 isDisabled = { this . state . billingAccounts . length === 0 }
92+ showDropdownIndicator
9293 />
9394 { /* Hide this link because we haven't implemented a required page in SFDC yet */ }
9495 { /* <div className={styles.manageBillingAccountLinkWrapper}>
You can’t perform that action at this time.
0 commit comments