我有一个输入字段,需要是text,text。但我希望手机上出现的键盘是数字键盘。怎么能实现这一目标?我尝试过以下方法:
'dtb is the datatable'
Dim lstMaxLen As New List(Of Integer)
For Each dcl As DataColumn In dtb.Columns
Dim intMaxLen As Integer = 0
For Each drw As DataRow In dtb.Rows
If drw(dcl.ColumnName).ToString.Length > intMaxLen Then
intMaxLen = drw(dcl.ColumnName).ToString.Length
End If
Next drw
lstMaxLen.Add(intMaxLen)
Next dcl
答案 0 :(得分:0)
您是否尝试替换
{
"mappings": {
"blogpost": {
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"body": {
"type": "string",
"term_vector": "with_offsets",
"analyzer": "english"
}
}
}
}
}
带
type="text"