rjsf-team / react-jsonschema-form

A React component for building Web forms from JSON Schema.
https://rjsf-team.github.io/react-jsonschema-form/
Apache License 2.0
14.09k stars 2.18k forks source link

persian datepicker #3308

Closed slhasadi closed 3 months ago

slhasadi commented 1 year ago

Prerequisites

What theme are you using?

core

What is your question?

hey guys i want to use persian datepicker(jalali) insted of georgian can anyone help me?

heath-freenome commented 1 year ago

You are welcome to write a custom version of the date picker widget for yourself. Follow the instructions for building custom widgets. Out of the box we are just using the date picker that comes with the browser. Have you tried switching your browser locale to IR?

slhasadi commented 1 year ago

> You are welcome to write a custom version of the date picker widget for yourself. Follow the instructions for building custom widgets. Out of the box we are just using the date picker that comes with the browser. Have you tried switching your browser locale to IR?

no i just use the presian datepicker i use a datepicker(jalali) but i have error when i submit the form must be string

Screen Shot 2022-12-22 at 11 36 20 PM
heath-freenome commented 1 year ago

It seems like that date picker may be returning a Date object rather than converting it to a UTC string

stale[bot] commented 4 months ago

This issue has been automatically marked as possibly close because it has not had recent activity. It will be closed if no further activity occurs. Please leave a comment if this is still an issue for you. Thank you.

stale[bot] commented 3 months ago

This issue was closed because of lack of recent activity. Reopen if you still need assistance.