Render: {renderCounter.current}
diff --git a/packages/react-maplibre/src/components/MlWmsLoader/MlWmsLoader.stories.tsx b/packages/react-maplibre/src/components/MlWmsLoader/MlWmsLoader.stories.tsx
index cd2508639..f6da8a95d 100644
--- a/packages/react-maplibre/src/components/MlWmsLoader/MlWmsLoader.stories.tsx
+++ b/packages/react-maplibre/src/components/MlWmsLoader/MlWmsLoader.stories.tsx
@@ -219,7 +219,9 @@ const CustomFeatureInfoTemplate: any = () => {
variant="outlined"
size="small"
value={`Lng: ${featureInfoData.lngLat.lng.toFixed(6)}, Lat: ${featureInfoData.lngLat.lat.toFixed(6)}`}
- InputProps={{ readOnly: true }}
+ slotProps={{
+ input: { readOnly: true },
+ }}
sx={{ marginBottom: '10px' }}
/>
@@ -230,7 +232,9 @@ const CustomFeatureInfoTemplate: any = () => {
multiline
rows={10}
value={featureInfoData.content}
- InputProps={{ readOnly: true }}
+ slotProps={{
+ input: { readOnly: true },
+ }}
/>