djangosnippets.org: Latest snippets posted by mkoistinenhttps://djangosnippets.org/users/mkoistinen/2020-04-16T12:33:31.652598-05:00mkoistinenReadOnlySelect
2020-04-16T12:33:31.652598-05:00mkoistinenhttps://djangosnippets.org/snippets/10774/<p>A minimally invasive Select widget that looks and acts like a disabled select input, but still submits with the form. It works by rendering the form as disabled, and supplements it's output with a hidden input field with the same name and value.</p>
<p>Tested in Django 3.0, probably works in …</p>
Freely redistributable