I am doing a calculator and maxlenght is not working. After I set maxlength to 12, when clicking calculator buttons it do more then 12.

```
<input type="text" maxlength="12" name="display" id="result" disabled placeholder="0">

```