Skip to content

ncaq/yesod-form-bootstrap4

Repository files navigation

Hackage yesod-form-bootstrap4 on Stackage LTS test

yesod-form-bootstrap4

This program replace yesod-form to Bootstrap v4.

Problem

This program is not work for boolField and checkBoxField.

Because Bootstrap v4.1 checkbox layout different other. Forms · Bootstrap

Workaround

use Monadic form. and

fooFieldSettings :: FieldSettings master
fooFieldSettings = (bfs ("public" :: Text))
  { fsAttrs = [("class", "form-check-input")]
  }

About

yesod-form for bootstrap version 4

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •