Describe the bug
Passing an attribute to submit raises an error
To Reproducesubmit "Save Changes", data_disable_with: "Saving...", attrs: [:disabled]
web | In lib/lucky/src/lucky/tags/base_tags.cr:282:14
web |
web | 282 | options[key.to_s] = value
web | ^
web | Error: no overload matches 'Hash(String, Lucky::AllowedInTags | String)#[]=' with types String, (Array(Symbol) | String)
web |
web | Overloads are:
web | - Hash(K, V)#[]=(key : K, value : V)
web | Couldn't find overloads for these types:
web | - Hash(String, Lucky::AllowedInTags | String)#[]=(key : String, value : Array(Symbol))
Versions
Lucky version (check in shard.lock): 1.0.0-rc1
Crystal version (crystal --version): Crystal 1.5.1
Describe the bug Passing an attribute to
submit
raises an errorTo Reproduce
submit "Save Changes", data_disable_with: "Saving...", attrs: [:disabled]
Versions
crystal --version
): Crystal 1.5.1