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
Unlike input, textarea does not accept boolean attributes.
E.g. this works:
mount Shared::Field.new(f.author), &.text_input(attrs: [:required])
This does not:
mount Shared::Field.new(f.summary), &.textarea(attrs: [:required])
The error is:
web | In lib/lucky/src/lucky/tags/base_tags.cr:139:14
web |
web | 139 | options[key.to_s] = value
web | ^
web | Error: no overload matches 'Hash(String, Lucky::AllowedInTags | String)#[]=' with types String, Array(Symbol)
web |
web | Overloads are:
web | - Hash(K, V)#[]=(key : K, value : V)
The text was updated successfully, but these errors were encountered:
Lucky Version: 0.18
Unlike
input
,textarea
does not accept boolean attributes.E.g. this works:
This does not:
The error is:
The text was updated successfully, but these errors were encountered: