FastUI icon indicating copy to clipboard operation
FastUI copied to clipboard

`bytes` is currently rendered wrong

Open samuelcolvin opened this issue 2 years ago • 3 comments

Currently bytes becomes 'format': 'binary' in JSON Schema, which in turn means it get's rendered as a file input.

I'm not sure what the best solution is, maybe we just support the base64 types and solve it that way.

samuelcolvin avatar Dec 01 '23 19:12 samuelcolvin

For some reason, I am not experiencing this. I just changed the Users model in the README demo to have the name as bytes and it renders the same.

WolfDWyc avatar Dec 02 '23 13:12 WolfDWyc

Does it submit ok?

samuelcolvin avatar Dec 02 '23 13:12 samuelcolvin

Oh, I understand now.

WolfDWyc avatar Dec 02 '23 14:12 WolfDWyc