-
Notifications
You must be signed in to change notification settings - Fork 115
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
setAttribute doesn't work in inline_editable=true #738
Comments
This will probably be a bug with something in admin, but I don't have time to investigate now. |
Sounds very related to silverstripe/silverstripe-framework#9124 |
I have no idea of the cause, so I can't say anything sensible on that. But I can confirm this issue exists. I tried to get a dependant dropdown (sheadawson/silverstripe-dependentdropdownfield) to work inside an elemental form and the setAttributes are missing. I can't get any setAttributes to show on Elemental formfields |
This issue seems to still be prevalent. |
Temporary workaround (eg for placeholder attribute): |
This is a duplicate of silverstripe/silverstripe-framework#9124 - once that's resolved, this will be resolved. |
With 4.2.1
$ElementBlahField->setAttribute('placeholder', $placeholdertext);
just shows if inline_editable=false.The text was updated successfully, but these errors were encountered: