+
Skip to content

Tags: cj123/formulate

Tags

v1.7.0

Toggle v1.7.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
encode/decode: adds SetElementNamePrefix which allows a prefix to be …

…specified for all element names (#35)

v1.6.2

Toggle v1.6.2's commit message

Verified

This commit was signed with the committer’s verified signature.
cj123 Callum Jones
mod: downgrade gorilla/csrf to v1.7.2

v1.6.1

Toggle v1.6.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
mod: update packages, bump to go 1.23 (#33)

* mod: update packages, bump to go 1.23

* encode/test: create random key for CSRF test

* mod: go mod tidy

v1.6.0

Toggle v1.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
encoding: adds improvements to show conditions, giving more control o…

…ver when fields are rendered. (#30)

* It is now possible to add multiple show conditions for a single key. If multiple are specified, all must pass for the field to be shown
* ShowConditionFuncs are now passed the StructField, which can be used to make decisions about visibility
* Added new `AddGlobalShowCondition` method which visits all fields in a struct
* When encoding a HTML form, structs that result in no rendered children elements are not rendered nor decorated
* Improved RenderHTMLToNode to not require wrapping of children nodes in a <div>

v1.5.2

Toggle v1.5.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
if min or max field tags are set use them to set text input minlength… (

#29)

* if min or max field tags are set use them to set text input minlength and maxlength

* documentation update

v1.5.1

Toggle v1.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
decode: fixes correct handling of empty values introduced in #26 (#27)

v1.5.0

Toggle v1.5.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
decode: fixes correct handling of empty values introduced in #26 (#27)

v1.4.0

Toggle v1.4.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
encoder: adds CSRF protection via gorilla/csrf (fixes #10) (#22)

* encoder: adds CSRF protection via gorilla/csrf (fixes #10)

* encoder: update tests to work with NewEncoder signature change, add tests for CSRF protection

v1.3.7

Toggle v1.3.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
encode/decode: ignore unexported fields (fixes #19) (#20)

v1.3.6

Toggle v1.3.6's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
field: adds support for multiple comma separated show tags (#18)

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载