withClearSvgAttrs
has been removed because this can lead to a runtime error.
Rename Select.newState
to Select.init
.
You need to pass a toMsg
attribute that tells the component how to map messages back to its update function. e.g.
type Msg =
SelectMsg Select.Msg
toMsg = SelectMsg
All configuration for styles and classes has been removed in favour plain CSS.
Please copy the default CSS from src/styles.css
.
You can also pass classes and styles via attributes:
Before:
|> withInputClass "col-2"
Now:
|> withInputAttrs [ class "col-2" ]