Copybara bot | be50d49 | 2023-11-30 00:16:42 +0100 | [diff] [blame] | 1 | <!-- Numeric Textfield --> |
2 | <form action="#"> | ||||
3 | <div class="mdl-textfield mdl-js-textfield"> | ||||
4 | <input class="mdl-textfield__input" type="text" pattern="-?[0-9]*(\.[0-9]+)?" id="sample2"> | ||||
5 | <label class="mdl-textfield__label" for="sample2">Number...</label> | ||||
6 | <span class="mdl-textfield__error">Input is not a number!</span> | ||||
7 | </div> | ||||
8 | </form> |