JSONforms- How to use custom date render inside schema type array

Help us in how to use custom date render instead of normal date format given below example.

Example:
{
“type”: “object”,
“properties”: {
“comments”: {
“type”: “array”,
“items”: {
“type”: “object”,
“properties”: {
“date”: {
“type”: “string”,
“format”: “date”
},
“message”: {
“type”: “string”,
“maxLength”: 5
},
“enum”: {
“type”: “string”,
“const”: “foo”
}
}
}
}
}
}

[original thread by praveenramineni]

Hi! You can fully customize any control by using a custom renderer, see also our tutorial.

[praveenramineni]

Hi Stefan, Thank you. I have created custom render but need to configure in schema instead of format date.

You can configure in your schema whatever you’d like as your custom renderer can then read it in and render what you want.