Added read only invocies. Removed added reducer coe that was needed BOD-408
This commit is contained in:
@@ -6,7 +6,7 @@ import CurrencyFormatter from "../../utils/CurrencyFormatter";
|
||||
//To be used as a form element only.
|
||||
const { Option } = Select;
|
||||
const BillLineSearchSelect = (
|
||||
{ value, onChange, options, onBlur, onSelect },
|
||||
{ value, onChange, options, onBlur, onSelect, disabled },
|
||||
ref
|
||||
) => {
|
||||
const [option, setOption] = useState(value);
|
||||
@@ -20,6 +20,7 @@ const BillLineSearchSelect = (
|
||||
|
||||
return (
|
||||
<Select
|
||||
disabled={disabled}
|
||||
ref={ref}
|
||||
showSearch
|
||||
autoFocus
|
||||
|
||||
Reference in New Issue
Block a user