here is the project from where I took this whole code
https://playcanvas.com/project/877545/overview/UIComponents%20with%20DPR
Using this code not able to add number attribute is there any who used same code and
displayed numeric keypad for phone if yes then how ?
Input.attributes.add('type', {
type: 'string',
enum: [
{ 'Text': 'text' },
{ 'Email': 'email' },
{ 'Password': 'password' }
],
default : 'text'
});
I wrote this code but while parsing Number input doesnt come
Input.attributes.add('type', {
type: 'number',
enum: [
{ 'Text': 'text' },
{ 'Email': 'email' },
{ 'Password': 'password' },
{'Number': 'number'}
],
default : 'number'
});