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
Fixes #27662 - template inputs - adding field #6991
Conversation
|
Issues: #27662 |
621c2d9
to
2f86d7e
Compare
|
@tbrisker would you mind taking a look since you reviewed and merged the referred PR? |
| @@ -42,10 +42,11 @@ export const pollReportData = url => { | |||
| export const inputValueOnchange = input => { | |||
| const searchValue = input.value === 'search'; | |||
| const plainValue = input.value === 'plain'; | |||
| const inputId = input.dataset.item || ''; | |||
| const inputId = input.dataset.item; | |||
| const $fields = $(input).closest('.fields'); | |||
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.
this just narrows the scope, not to search everywhere.
|
[test foreman] |
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.
Works nicely
|
[test foreman] |
|
@ezr-ondrej maybe rebase is needed? FTR there was ~150 tests failures in ProxyApiBmcTest which is 99.99% unrelated |
2f86d7e
to
e210149
Compare
|
Rebased. |
|
💚 |
|
Thanks everyone! |
Proper fix for #6955, fixes the new template inputs identification in javascript.
f.indexis set by Rails if the builder isfields_for