formic icon indicating copy to clipboard operation
formic copied to clipboard

Playing with forms

Results 16 formic issues
Sort by recently updated
recently updated
newest added

There's always a thing about fetching form data to construct JSON object. We need an analogue to FormData object.

bug
json

Is the example in the spec on how to set the values? Lets say I have data in json, and a blank form and I want to set the forms...

``` html ``` This has been pointed out before: This is not only "ugly", it's a trivial DoS waiting to happen. While this was trying to be developer friendly, a...

bug
json

Is it worth including a security section? This opens up the possibility of attacking a JSON service with CSRF. If you rely on the likes of cookies for your service...

json

In "steps to set a JSON encoding value", bullet 8.3.2.3: > Otherwise, set the context's property named by the step's key to object. What it the word `Otherwise` referring to?...

We're working on implementing this spec in Python (see https://github.com/tomchristie/django-rest-framework/issues/2148 and https://github.com/tomchristie/django-rest-framework/pull/2682). Overall I found everything to be very straightforward and well-documented, though I did come across a few minor...

It looks like the algorithm for merging conflicting usages will produce different results depending on key order: ``` html ``` produces ``` javascript { "mix": { "": "scalar" , "0":...

I think it would be more appropriate to introduce `application/form+json` media type instead of using `application/json` media type directly. As long as serialized `JSON` directly depends on the structure of...

json

The bracket notation is unquoted which means restricted characters are unavailable and numerals can not be used as JSON names. The JSON spec is flexible in this regard so it...

`` would yield a number. Example - { "foo": 5 } Same for type="range" and so on. type="checkbox" could yield a boolean (instead of 'on'). type="date" and friends can yield...

bug