We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 925f02b commit cf76862Copy full SHA for cf76862
docs/data/material/components/autocomplete/GoogleMaps.tsx
@@ -125,7 +125,7 @@ export default function GoogleMaps() {
125
const [value, setValue] = React.useState<PlaceType | null>(null);
126
const [inputValue, setInputValue] = React.useState('');
127
const [options, setOptions] = React.useState<readonly PlaceType[]>(emptyOptions);
128
- const callbackId = React.useId().replace(/:/g, '');
+ const callbackId = React.useId().replace(/[^\w]/g, '');
129
const [loaded, setLoaded] = React.useState(false);
130
131
if (typeof window !== 'undefined') {
0 commit comments