You can't disable a form input element (or "widget" here). I mean, you can but if you do it, it's value will be completely ignored. Instead, use readonly=True
. This way, the value will actually be sent when you submit the form.
See the readonly attribute's page on MDN.