You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Looking at the _input.twig file and the forms.wingsuit.yml file, there seems to be some errors, the online demo also has the issue as well
the attributes section doesn't really get filled with placeholder, type and possibly value correctly.
If you inspect the checkbox or submit, for instance, you don't see the "type" there
We can fix this by using .setAttribute('type', variant) and using fields for placeholder and value like so:
Describe the bug
Looking at the
_input.twig
file and theforms.wingsuit.yml
file, there seems to be some errors, the online demo also has the issue as wellthe
attributes
section doesn't really get filled withplaceholder
,type
and possiblyvalue
correctly.If you inspect the checkbox or submit, for instance, you don't see the "type" there
We can fix this by using
.setAttribute('type', variant)
and usingfields
forplaceholder
andvalue
like so:but I wonder if there's a better way to tackle this? ie. using settings as intended
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Proper support of
placeholder
,type
and possiblyvalue
Also a side note I wonder if there's an easy way to access the
settings
values in twig? couldn't find any documentations on thatThe text was updated successfully, but these errors were encountered: