bitcrowd / bitstyles_phoenix

A collection of Elixir phoenix helpers for bitstyles
ISC License
12 stars 0 forks source link

id attribute should not be set on `label` #32

Closed maltoe closed 3 years ago

maltoe commented 3 years ago

For some reason I need to have my input field a custom id field, so I'm doing

ui_input f, :foo, id: "#custom"

This id is applied to both the <input> and the <label>

andreasknoepfle commented 3 years ago

This should be fixed already with #30 (see changelog). Options for labels are not forwarded anymore, but passed in explicitly via label_opts.

We can close this with our next release.

andreasknoepfle commented 3 years ago

Fixed and released.