@data-c/ui 0.2.96 → 0.2.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9362,7 +9362,7 @@ function TransporterTextField(props) {
|
|
|
9362
9362
|
...rest
|
|
9363
9363
|
} = props;
|
|
9364
9364
|
const scope = useTransporterScope();
|
|
9365
|
-
const { openTransporter, triggerOnChange, value } = useTransporter(scope);
|
|
9365
|
+
const { openTransporter, triggerOnChange, value = "" } = useTransporter(scope);
|
|
9366
9366
|
const defaultEndAdornment = endAdornment ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _material.Stack, { direction: "row", spacing: 0, alignItems: "center", mr: 1, children: [
|
|
9367
9367
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _material.Tooltip, { title: "Clique no \xEDcone ou d\xEA dois cliques no campo para abrir a busca avan\xE7ada", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9368
9368
|
_material.IconButton,
|
|
@@ -9388,7 +9388,7 @@ function TransporterTextField(props) {
|
|
|
9388
9388
|
Autocomplete,
|
|
9389
9389
|
{
|
|
9390
9390
|
onDoubleClick: () => openTransporter(),
|
|
9391
|
-
value,
|
|
9391
|
+
value: value || "",
|
|
9392
9392
|
onChange: (value2) => {
|
|
9393
9393
|
triggerOnChange(value2);
|
|
9394
9394
|
},
|