Closed aeriksson closed 9 years ago
thanks that looks great, I'll push out a new version shortly
I just pushed out a new version [0.2.4]
with the change.
Would you mind adding an example for this use case in the readme? :)
Sure, I'll give it a shot :)
This enables forms that can be toggled, e.g. [:div {:field :alert :id :something :event exists?} [:input {:field :text :id :something-else}]]
This isn't possible if we use prewalk, since the alert field is processed before the input, causing the input to not be rendered.
AFAICT, this doesn't really have any negative consequences.