It has to be an input that allows handling currency values
with 2 decimal places.
this is my Schema
“importe”: {
type: “number”,
default: 0,
},
How do I add a placeHolder or default x value that is $ 100.50
[original thread by Marcelo Gracia]
It has to be an input that allows handling currency values
with 2 decimal places.
this is my Schema
“importe”: {
type: “number”,
default: 0,
},
How do I add a placeHolder or default x value that is $ 100.50
[original thread by Marcelo Gracia]
Hi @marcelogracia, you can use the description field in your JSON Schema to add some context to the control, e.g.
"amount": {
type: "number",
description: "Please enter a dollar value, e.g. 100.50 $"
}

In the React Material renderers the description will be rendered below the input

In the Angular Material renderers it will be shown as a placeholder
[Marcelo Gracia]
@sdirix Thanks for your reply