Skip to content

Commit

Permalink
Faces 1830 - HtmlInputFile#alt, autocomplete, maxlength, readonly, size
Browse files Browse the repository at this point in the history
  • Loading branch information
tandraschko committed Jan 21, 2025
1 parent ae7296e commit 7949f80
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@
public class HtmlInputFileRendererBase extends HtmlRenderer
{
private static final Logger log = Logger.getLogger(HtmlInputFileRendererBase.class.getName());

private static final String AUTOCOMPLETE_VALUE_OFF = "off";

@Override
public void decode(FacesContext facesContext, UIComponent component)
Expand Down Expand Up @@ -239,11 +237,6 @@ protected void renderInputBegin(FacesContext facesContext, UIComponent component
writer.writeAttribute(HTML.MULTIPLE_ATTR, HTML.MULTIPLE_ATTR, null);
}

if (AUTOCOMPLETE_VALUE_OFF.equals(inputFile.getAutocomplete()))
{
writer.writeAttribute(HTML.AUTOCOMPLETE_ATTR, AUTOCOMPLETE_VALUE_OFF, HTML.AUTOCOMPLETE_ATTR);
}

if (inputFile.getAccept() != null)
{
writer.writeAttribute(HTML.ACCEPT_ATTR, inputFile.getAccept(), HTML.ACCEPT_ATTR);
Expand Down

0 comments on commit 7949f80

Please sign in to comment.