SharkFourSix

Results 14 comments of SharkFourSix

You are lucky that I have been dealing with the same issue and just came across yours. First thing you need to know is that documentation is very very very...

You can do a PR with a configuration to allows access to all variables or use this hack that I use to access the entire scope chain: ```java List getScopeChain(EvaluationContext...

Do you mean here: https://github.com/PebbleTemplates/pebble/blob/f1f33368cfbfab7c9578b45ace7276af56cca886/pebble/src/main/java/io/pebbletemplates/pebble/template/PebbleTemplateImpl.java#L187

> by default `required` will fail when the value is zero value. so with that in mind, it makes sense to fail on `false` > > however, if `true` and...

@deankarn Well, at the same time, it doesn't make sense to treat `false` as bad input because it's just as important as any other value. That right there is where...

> There is currently no support for this in the core library but given that the native window handle is exposed by the library then I think you could implement...

> If not `required`, it will only be validated if the value is not empty(nil,zero-value). > > So without specifying `required`, it can be said that the field is optional....

> Same issue with dropdown in every row of a table, also using version 0.7.2 but within an Elm web app. > > ![image](https://user-images.githubusercontent.com/11793045/53789417-498e0d00-3f5f-11e9-886c-c39398e5ee73.png) Any fix on this? It's obvious...

One way you do that is pass the template into some XML/HTML manipulator to remove the attribute

Perhaps an in memory or redis session tracker/atomic counter middleware could do that?