Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datetime alias with incorrect submitted value #2826

Open
lazaronixon opened this issue Oct 25, 2024 · 0 comments
Open

Datetime alias with incorrect submitted value #2826

lazaronixon opened this issue Oct 25, 2024 · 0 comments

Comments

@lazaronixon
Copy link

lazaronixon commented Oct 25, 2024

After submiting a from with this field:

Inputmask.default({ alias: "datetime", removeMaskOnSubmit: true, inputFormat: "mm/dd/yyyy HH:MM", outputFormat: "isoDateTime" }).mask(element)

This value is submitted:

1212-12-12'undefined'12:12:undefined

Expected:

1212-12-12T12:12:00
  • OS: OSX
  • Browser : Firefox
  • Inputmask version: 5.0.9
@lazaronixon lazaronixon changed the title Datetime alias with incorrect unmasking value Datetime alias with incorrect submitted value Oct 25, 2024
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

No branches or pull requests

1 participant