Maxlength not working on Input

I’m trying to set the maxlength property on a Dash Input but whatever value I assign there it still doesn’t lock the number of input characters.

Am I doing wrong?

                    dcc.Input(
                        id='name-input',
                        placeholder='(name)...',
                        maxlength=32,
                        type='text',
                        style={
                            'margin': '0px 0px 0px 15px',
                            'width': '20%'
                        }
                    ),
1 Like