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
FormItem position and value issues when setting visibility #4530
Comments
This issue also exists in V12 and V13 all the way to V13.0.3. I have verified that the issue occurs in the major browsers (Safari, Firefox, Chrome). To reproduce:
The same app demo can also be used to provoke the missing fields in Safari (#5446) |
Note: It looks like it may be caused by the fields being set to not visible before being shown. If you "Add User" which has all fields visible, they will show up correctly. When you "Add Customer", some fields (FormItems) are set to not visible and when they later are set to visible (e.g. by changing the type) their position is off. |
Also noticed the issue in the Flow Project Wizard (https://labs.vaadin.com/project-wizard/) on an iPad. Notice that the form fields are jumbled together at the top. |
@denis-anisimov Should this issue be logged in https://github.com/vaadin/vaadin-form-layout? If so are you able to move it over? |
Issue moved to vaadin/vaadin-form-layout-flow #92 via ZenHub |
Have a form with FormItems. The FormItems are set to be visible/invisible based on user selection(s). For example, if the user selects "address" the FormItem with the address field is set to visible and the phone number is set to invisible. If the user selects "phone" the address field is set to invisible and the phone number is set to visible.
Changing visible this way causes several problems:
This issue exists in V10 and V11 alpha 1 and beta 1.
Source code and video clip attached
FormItemIssue.zip
The text was updated successfully, but these errors were encountered: