(() => {
const typebotStandard = document.querySelector("typebot-standard");
if (!typebotStandard) return;
const shadowRoot = typebotStandard.shadowRoot;
if (!shadowRoot) return;
const container = shadowRoot.querySelector(
'[data-blockid="q6qobr1ls2y7ws59oy990rcz"]'
);
if (!container) return;
const inputField = container.querySelector('input[type="tel"]');
if (!inputField) return;
inputField.type = "number";
})();
Number
, and it removes leading 0 because it considers it not being a valid number