Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Changing data types sent by forms to the API #8

Open
nonsintetic opened this issue Nov 18, 2020 · 0 comments
Open

Changing data types sent by forms to the API #8

nonsintetic opened this issue Nov 18, 2020 · 0 comments

Comments

@nonsintetic
Copy link

Describe the bug
If I use a va-number-input in a resource Create form, the value is sent as a string to the API. Couldn't find anything in the documentation about how to set what data types are sent in the requests to the API.

Additional context
I'm using vuetify-admin to interfact with API Platform. In API Platform integer type properties expect you to send the data as an integer, strings won't work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant