Text Alignment made easy and convenient. (#1804)

* text alignment made easy

* added description and removed id

Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
Vivek Singh
2021-02-15 22:15:58 +05:30
committed by GitHub
parent 49a21cf4a9
commit ed94a0fb39
3 changed files with 28 additions and 1 deletions

View File

@@ -22,6 +22,9 @@ function mapHtmlTypes(inputInfo){
htmlType = inputInfo.min != undefined ? 'range' : 'text';
if (htmlType === 'range') inputInfo.step = inputInfo.step || 0.1; // default range step size for float
break;
case 'coordinate-input':
htmlType = 'button';
break;
default:
htmlType = 'text';
break;