- number-поля теперь рендерятся как text + inputMode=numeric, чтобы браузер не округлял значения через input type=number - пробелы при вставке в number-поля удаляются - бэкенд нормализует значения number-полей в строку перед сохранением - добавлен хелпер normalizeFieldValueForStorage Closes: искажение расчётного счёта и других длинных числовых полей
38 lines
755 B
JSON
38 lines
755 B
JSON
{
|
|
"type": "1",
|
|
"label": "гугля",
|
|
"config": {
|
|
"title": "Google Таблица",
|
|
"hideTitle": true,
|
|
"componentType": "embed",
|
|
"embedFullHeight": true,
|
|
"embedStyle": {
|
|
"margin": "0",
|
|
"padding": "0",
|
|
"border": "none",
|
|
"width": "100%",
|
|
"height": "100%"
|
|
},
|
|
"containerStyle": {
|
|
"margin": "0",
|
|
"padding": "0",
|
|
"overflow": "hidden"
|
|
}
|
|
},
|
|
"inputSchema": [
|
|
{
|
|
"name": "embedUrl",
|
|
"type": "url",
|
|
"label": "URL таблицы",
|
|
"required": true,
|
|
"placeholder": "https://docs.google.com/spreadsheets/d/..."
|
|
},
|
|
{
|
|
"name": "embedHeight",
|
|
"type": "number",
|
|
"label": "Высота (px)",
|
|
"default": 500
|
|
}
|
|
]
|
|
}
|