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

Initial value for selects not working (form block) #40

Open
flx-sta opened this issue Jan 26, 2024 · 0 comments · May be fixed by #57
Open

Initial value for selects not working (form block) #40

flx-sta opened this issue Jan 26, 2024 · 0 comments · May be fixed by #57

Comments

@flx-sta
Copy link

flx-sta commented Jan 26, 2024

Expected Behaviour

When using a select inside the excel Table and providing a Value for the options it should pre-select the given Value no matter the position

Actual Behaviour

The given Value is ignoed because the <select> object is handled via setCommonAttributes while disregarding the fact that the <select> element does not support the value= propery

Steps to Reproduce

Create a form-block via spreadsheet and provide a select element with more than 1 options and provide the 2nd option as value.

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