Closed alafad closed 11 months ago
If I duplicate an ad the profile name input field is filled with my profile name but is greyed out and if I submit the form, I'll get an error that the required profile name doesn't have a value and it gets writable for me to submit a name.
Does any body else have this problem?
document.getElementById("postad-contactname") <input id="postad-contactname" class="formcontrol" name="contactName" disabled="disabled" type="text" value="privat" maxlength="30"> accept: "" accessKey: "" accessKeyLabel: "" align: "" alt: "" assignedSlot: null attributes: NamedNodeMap(7) [ id="postad-contactname", name="contactName", class="formcontrol", … ] autocapitalize: "" autocomplete: "" autofocus: false baseURI: "https://www.kleinanzeigen.de/p-anzeige-bearbeiten.html?adId=2565713321" checked: false childElementCount: 0 childNodes: NodeList [] children: HTMLCollection { length: 0 } classList: DOMTokenList [ "formcontrol" ] className: "formcontrol" clientHeight: 42 clientLeft: 1 clientTop: 1 clientWidth: 486 contentEditable: "inherit" dataset: DOMStringMap(0) defaultChecked: false defaultValue: "privat" dir: "" dirName: "" disabled: true draggable: false enterKeyHint: "" files: null firstChild: null firstElementChild: null form: <form id="adForm" action="https://www.kleinanzeige…-anzeige-abschicken.html" method="post"> formAction: "https://www.kleinanzeigen.de/p-anzeige-bearbeiten.html?adId=2565713321" formEnctype: "" formMethod: "" formNoValidate: false formTarget: "" height: 0 hidden: false id: "postad-contactname" indeterminate: false inert: false innerHTML: "" innerText: "" inputMode: "" isConnected: true isContentEditable: false jQuery351070695212161878821: Object { events: {…}, handle: handle(e) } labels: NodeList [ label.formgroup-label--unpadded ] lang: "" lastChild: null lastElementChild: null list: null localName: "input" max: "" maxLength: 30 min: "" minLength: -1 multiple: false name: "contactName" namespaceURI: "http://www.w3.org/1999/xhtml" nextElementSibling: null nextSibling: null nodeName: "INPUT" nodeType: 1 nodeValue: null nonce: "" offsetHeight: 44 offsetLeft: 179 offsetParent: <div class="formgroup l-container"> offsetTop: 0 offsetWidth: 488 onabort: null onanimationcancel: null onanimationend: null onanimationiteration: null onanimationstart: null onauxclick: null onbeforeinput: null onblur: null oncancel: null oncanplay: null oncanplaythrough: null onchange: null onclick: null onclose: null oncontextmenu: null oncopy: null oncuechange: null oncut: null ondblclick: null ondrag: null ondragend: null ondragenter: null ondragexit: null ondragleave: null ondragover: null ondragstart: null ondrop: null ondurationchange: null onemptied: null onended: null onerror: null onfocus: null onformdata: null onfullscreenchange: null onfullscreenerror: null ongotpointercapture: null oninput: null oninvalid: null onkeydown: null onkeypress: null onkeyup: null onload: null onloadeddata: null onloadedmetadata: null onloadstart: null onlostpointercapture: null onmousedown: null onmousemove: null onmouseout: null onmouseover: null onmouseup: null onpaste: null onpause: null onplay: null onplaying: null onpointercancel: null onpointerdown: null onpointerenter: null onpointerleave: null onpointermove: null onpointerout: null onpointerover: null onpointerup: null onprogress: null onratechange: null onreset: null onresize: null onscroll: null onscrollend: null onsecuritypolicyviolation: null onseeked: null onseeking: null onselect: null onselectionchange: null onselectstart: null onslotchange: null onstalled: null onsubmit: null onsuspend: null ontimeupdate: null ontoggle: null ontransitioncancel: null ontransitionend: null ontransitionrun: null ontransitionstart: null onvolumechange: null onwaiting: null onwebkitanimationend: null onwebkitanimationiteration: null onwebkitanimationstart: null onwebkittransitionend: null onwheel: null outerHTML: '<input id="postad-contactname" name="contactName" class="formcontrol" disabled="disabled" type="text" value="privat" maxlength="30">' outerText: "" ownerDocument: HTMLDocument https://www.kleinanzeigen.de/p-anzeige-bearbeiten.html?adId=2565713321 parentElement: <div class="formgroup-input align-top" onclick="showToastMessage()"> parentNode: <div class="formgroup-input align-top" onclick="showToastMessage()"> part: DOMTokenList [] pattern: "" placeholder: "" prefix: null previousElementSibling: null previousSibling: #text "\n " readOnly: false required: false scrollHeight: 42 scrollLeft: 0 scrollLeftMax: 0 scrollTop: 0 scrollTopMax: 0 scrollWidth: 486 selectionDirection: "forward" selectionEnd: 0 selectionStart: 0 shadowRoot: null size: 20 slot: "" spellcheck: false src: "" step: "" style: CSS2Properties(0) tabIndex: 0 tagName: "INPUT" textContent: "" textLength: 6 title: "" translate: true type: "text" useMap: "" validationMessage: "" validity: ValidityState { valueMissing: false, typeMismatch: false, patternMismatch: false, … } value: "privat" valueAsDate: null valueAsNumber: NaN webkitEntries: Array [] webkitdirectory: false width: 0 willValidate: false <prototype>: HTMLInputElementPrototype { stepUp: stepUp(), stepDown: stepDown(), checkValidity: checkValidity(), … }
It is working again, however if you click the button an new ad is created immediately
If I duplicate an ad the profile name input field is filled with my profile name but is greyed out and if I submit the form, I'll get an error that the required profile name doesn't have a value and it gets writable for me to submit a name.
Does any body else have this problem?