Skip to content

Fix for IE bug showing "null" string in input fields.#46

Closed
mmaday wants to merge 1 commit intomaxatwork:masterfrom
mmaday:master
Closed

Fix for IE bug showing "null" string in input fields.#46
mmaday wants to merge 1 commit intomaxatwork:masterfrom
mmaday:master

Conversation

@mmaday
Copy link

@mmaday mmaday commented Jan 25, 2013

Must resort to empty string in IE otherwise "null" shows up. Refer to
http://stackoverflow.com/questions/5387038/null-values-shown-in-form-fie
lds-in-ie

@maxatwork
Copy link
Owner

Current objectToForm/js2form behavior writes null values as empty strings rather than the literal null string, and I added a direct regression test in packages/js2form/test/js2form.test.ts. Closing this legacy PR as already covered.

@maxatwork maxatwork closed this Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants