-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MYFACES-4390: HtmlInputFile multiple support #191
Conversation
Also unsure as its mentioned it should render |
why not |
OK I updated it. to write out "multiple" but what threw me off is the lines above it were this... if (inputFile.isDisabled())
{
writer.writeAttribute(HTML.DISABLED_ATTR, Boolean.TRUE, null);
} But in PrimeFaces code we do this... writer.writeAttribute("disabled", "disabled", null); |
yeah disabled=true doesn't work across all browsers, has to be just "disabled" or "disabled=disabled", Multiple is the same, cant be multiple=true, must be multiple=multiple, or just "multiple" |
ref here https://stackoverflow.com/questions/6961526/what-is-the-correct-value-for-the-disabled-attribute Don't use attributes=true for these at all, ever |
Thanks @GedMarc. So @tandraschko so then the Disabled attribute here is incorrect then. |
@melloware would you please add a jira issue and provide a PR? would be great! |
Yep will do! |
I feel like an alien in this code base!
I didn't see any existing tests to update so i wasn't even sure where to begin to add a test for this?