Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FormData.get function is undefined

FormData.get is undefined in Chrome

https://developer.mozilla.org/en-US/docs/Web/API/FormData/get

enter image description here

like image 363
user2727195 Avatar asked Jan 07 '23 10:01

user2727195


1 Answers

By default, Chrome does not support the .get() method, as well as delete, get, getAll, has, and set. Although you can enable that functionality by activating an experimental flag, note from MDN:

[2] Chrome support for methods other than append is currently behind the "Enable Experimental Web Platform Features" flag.

For activating flags in Chrome you can go to the following link:

chrome://flags/#enable-experimental-webkit-features
like image 184
Spencer Wieczorek Avatar answered Jan 14 '23 15:01

Spencer Wieczorek