Skip to content

Commit

Permalink
fix checked for file input
Browse files Browse the repository at this point in the history
  • Loading branch information
santonelli committed Feb 2, 2023
1 parent 432b6a0 commit 87083fb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -71,7 +71,7 @@
tal:attributes="name string:${view/name}.action;
id string:${view/id}-remove;
onclick string:document.getElementById('${view/id}-input').disabled=true;
checked python:'checked' if action == 'nochange' else None" />
checked python:'checked' if action == 'remove' else None" />
<label class="custom-control-label" tal:attributes="for string:${view/id}-remove" i18n:translate="file_remove">
Remove existing file
</label>
Expand Down

0 comments on commit 87083fb

Please sign in to comment.