fb_pixel

How does wtf froms Flask change the type to "tel" or "number" in the input field?

Development | Mobile Apps
Description
It is necessary that in the phone when you click on the field pops up a numeric keyboard, without letters.To do this, do it like this.But how to change the type if the field was created with wtf and displayed in the template with jinja?
Attachments
No attachments
Info
Description
The widget is responsible for this function.And at me it looks like this:
widget=widgets.Input(input_type="tel")

I cannot put an IntegerField, since the js module works for me, which inserts brackets around the number code and hyphens.

on July 08th, 2020 (5:07 pm)
All coments
This job has not been commented yet.