how to add number values into form . what should we give view that takes only number
You can use HTML attributes to set the type of the inputs. For a single input:
{
view:"text",
attributes:{ type:"number" }
}
For the entire form:
{
view:"form",
elementsConfig:{
attributes:{ type:"number" }
},
elements:[
{view:"text"}
]
}