Skip to content

Commit

Permalink
change variable name to avoid confusion with other BasicEntityField c…
Browse files Browse the repository at this point in the history
…omponents
  • Loading branch information
zackatbrightbeam committed Jul 25, 2024
1 parent 2375bb5 commit 9ade7be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions dist/BasicEntitySliderField.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
declare function BasicEntitySliderField(props: any): import("react/jsx-runtime").JSX.Element;
export { BasicEntitySliderField };
2 changes: 1 addition & 1 deletion dist/voxgig-model-react.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -64714,7 +64714,7 @@ function BasicEntityAutocompleteField(props) {
isOptionEqualToValue: (opt, val) => opt === val || (opt == null ? void 0 : opt.id) != null && (val == null ? void 0 : val.id) != null && opt.id === val.id || (opt == null ? void 0 : opt.value) != null && (val == null ? void 0 : val.value) != null && opt.value === val.value,
getOptionLabel: (option) => option.label,
value,
onChange: (e, val) => onChange(val),
onChange: (_2, nweValue) => onChange(nweValue),
renderInput: (params) => /* @__PURE__ */ jsxRuntimeExports.jsx(TextField$1, __spreadProps(__spreadValues({}, params), { label: field.label }))
},
field.id
Expand Down
2 changes: 1 addition & 1 deletion dist/voxgig-model-react.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -64726,7 +64726,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${key}Cha
isOptionEqualToValue: (opt, val) => opt === val || (opt == null ? void 0 : opt.id) != null && (val == null ? void 0 : val.id) != null && opt.id === val.id || (opt == null ? void 0 : opt.value) != null && (val == null ? void 0 : val.value) != null && opt.value === val.value,
getOptionLabel: (option) => option.label,
value,
onChange: (e, val) => onChange(val),
onChange: (_2, nweValue) => onChange(nweValue),
renderInput: (params) => /* @__PURE__ */ jsxRuntimeExports.jsx(material.TextField, __spreadProps(__spreadValues({}, params), { label: field.label }))
},
field.id
Expand Down
2 changes: 1 addition & 1 deletion src/lib/BasicEntityAutocompleteField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function BasicEntityAutocompleteField(props: any) {
}
getOptionLabel={(option: any) => option.label}
value={value}
onChange={(e: any, val: any) => onChange(val)}
onChange={(_, nweValue: any) => onChange(nweValue)}
renderInput={(params: any) => <TextField {...params} label={field.label} />}
/>
)}
Expand Down

0 comments on commit 9ade7be

Please sign in to comment.