Skip to content
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

UIRepeat wrong state restored for UIInput #4535

Closed
fanste opened this issue Jan 24, 2019 · 2 comments
Closed

UIRepeat wrong state restored for UIInput #4535

fanste opened this issue Jan 24, 2019 · 2 comments
Labels

Comments

@fanste
Copy link
Contributor

fanste commented Jan 24, 2019

Its the same issue as #4206 - it still exists in the mojarra 2.2.18 release. I currently cannot test the 2.3.x versions. I'm using the wildfly 10.1 application server.

This really simplified example without AJAX triggers the behavior.

<h:form>
    <ui:repeat value="#{[1,2,3,4]}" var="cls">
        <h:inputText required="true" />
    </ui:repeat>
    <h:commandButton value="test"  />
</h:form>
  • insert something into the last field
  • click the button, validation fails
  • click the button again, validation fails and value is visible in ALL fields

Moved ticket from javaserverfaces/mojarra#4390

@Rapster
Copy link

Rapster commented Aug 11, 2019

Seems to be fixed in 2.3.2

@github-actions
Copy link

This issue is marked as stale because there was no activity on it for the last 2 years. Remove stale label or comment or this will be closed in 30 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants