You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
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