-
Notifications
You must be signed in to change notification settings - Fork 116
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
form options #4183
form options #4183
Conversation
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
f78f9dd
to
c668828
Compare
const messageEl = el.parentElement.querySelector(".s_website_form_end_message"); | ||
return messageEl.classList.contains("o_builder_form_show_message"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Undo => trigger error because messageEl is undefined. Maybe use applyTo("s_website_form_end_message") ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But t-if="isActiveItem('show_message_opt')"
.... why is this method even called when that condition is false ? (or maybe isActiveItem
returns true while it should not.)
I can't use applyTo
because I also need to apply the class on the form itself
25111bb
to
bb136ce
Compare
3ee87bf
to
98b990a
Compare
630ad1f
to
ebffc34
Compare
93e0b8c
to
59466bc
Compare
f468b7f
to
80b3d5d
Compare
59466bc
to
740ed44
Compare
This PR targets the un-managed branch odoo-dev/odoo:master-mysterious-egg, it needs to be retargeted before it can be merged. |
No description provided.