custom entity RAW allow length up to 256

This commit is contained in:
MichaelDvP
2024-08-04 15:56:08 +02:00
parent 95c995f87a
commit 8d70dc7a02
3 changed files with 42 additions and 22 deletions

View File

@@ -291,7 +291,7 @@ const CustomEntitiesDialog = ({
fullWidth
margin="normal"
type="number"
inputProps={{ min: '1', max: '27', step: '1' }}
inputProps={{ min: '1', max: String(256 - editItem.offset), step: '1' }}
/>
</Grid>
)}