1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.4 Maximum value for SpinBox = 0

Discussion in 'Troubleshooting and Problems' started by Alexander Firth, Oct 12, 2015.

  1. Alexander Firth

    Alexander Firth Active Member

    This is actually add-on related, but I'm not hearing anything back from the developers after a few days so I thought I'd just see if anyone's got a clue - it may be an easy fix.

    It is the AD Credits add on. When trying to transfer credits, a pop-up box comes up but every time you try to enter a value to transfer, it resets to 0. I inspected the element, and noted this:

    Code:
    Minimum value for SpinBox = 1 (https://youthdebates.org/forums/js/xenforo/xenforo.js?_v=9cc97c33)
    Maximum value for SpinBox = 0 (https://youthdebates.org/forums/js/xenforo/xenforo.js?_v=9cc97c33)
    [input#ctrl_credits.textCtrl.SpinBox.number, context: input#ctrl_credits.textCtrl.SpinBox.number]0: input#ctrl_credits.textCtrl.SpinBox.numberaccept: ""accessKey: ""align: ""alt: ""attributes: NamedNodeMapautocapitalize: "sentences"autocomplete: "off"autofocus: falsebaseURI: "https://youthdebates.org/forums/"checked: falsechildElementCount: 0childNodes: NodeList[0]length: 0__proto__: NodeListconstructor: NodeList()item: item()length: (...)get length: ()__proto__: Objectchildren: HTMLCollection[0]length: 0__proto__: HTMLCollectionclassList: DOMTokenList[3]className: "textCtrl SpinBox number"clientHeight: 23clientLeft: 1clientTop: 1clientWidth: 148contentEditable: "inherit"dataset: DOMStringMapdefaultChecked: falsedefaultValue: ""dir: ""dirName: ""disabled: falsedraggable: falsefiles: nullfirstChild: nullfirstElementChild: nullform: form.xenForm.formOverlay.AutoValidatorformAction: ""formEnctype: ""formMethod: ""formNoValidate: falseformTarget: ""height: 0hidden: falseid: "ctrl_credits"incremental: falseindeterminate: falseinnerHTML: ""innerText: ""isContentEditable: falsejQuery111006244711407925934: 3996labels: NodeList[1]lang: ""lastChild: nulllastElementChild: nulllist: nulllocalName: "input"max: "500"maxLength: 524288min: "1"minLength: 0multiple: falsename: "credits"namespaceURI: "http://www.w3.org/1999/xhtml"nextElementSibling: input.button.spinBoxButton.upnextSibling: input.button.spinBoxButton.upnodeName: "INPUT"nodeType: 1nodeValue: nulloffsetHeight: 25offsetLeft: 192offsetParent: dl.ctrlUnitoffsetTop: 14offsetWidth: 150onabort: nullonautocomplete: nullonautocompleteerror: nullonbeforecopy: nullonbeforecut: nullonbeforepaste: nullonblur: nulloncancel: nulloncanplay: nulloncanplaythrough: nullonchange: nullonclick: nullonclose: nulloncontextmenu: nulloncopy: nulloncuechange: nulloncut: nullondblclick: nullondrag: nullondragend: nullondragenter: nullondragleave: nullondragover: nullondragstart: nullondrop: nullondurationchange: nullonemptied: nullonended: nullonerror: nullonfocus: nulloninput: nulloninvalid: nullonkeydown: nullonkeypress: nullonkeyup: nullonload: nullonloadeddata: nullonloadedmetadata: nullonloadstart: nullonmousedown: nullonmouseenter: nullonmouseleave: nullonmousemove: nullonmouseout: nullonmouseover: nullonmouseup: nullonmousewheel: nullonpaste: nullonpause: nullonplay: nullonplaying: nullonprogress: nullonratechange: nullonreset: nullonresize: nullonscroll: nullonsearch: nullonseeked: nullonseeking: nullonselect: nullonselectstart: nullonshow: nullonstalled: nullonsubmit: nullonsuspend: nullontimeupdate: nullontoggle: nullonvolumechange: nullonwaiting: nullonwebkitfullscreenchange: nullonwebkitfullscreenerror: nullonwheel: nullouterHTML: "<input type="text" name="credits" min="1" max="500" step="10" id="ctrl_credits" class="textCtrl SpinBox number" autocomplete="off">"outerText: ""ownerDocument: documentparentElement: ddparentNode: ddpattern: ""placeholder: ""prefix: nullpreviousElementSibling: nullpreviousSibling: textreadOnly: falserequired: falsescrollHeight: 23scrollLeft: 0scrollTop: 0scrollWidth: 149selectionDirection: "none"selectionEnd: 1selectionStart: 1shadowRoot: nullsize: 20spellcheck: truesrc: ""step: "10"style: CSSStyleDeclarationtabIndex: 0tagName: "INPUT"textContent: ""title: ""translate: truetype: "text"useMap: ""validationMessage: ""validity: ValidityStatevalue: "0"valueAsDate: nullvalueAsNumber: NaNwebkitEntries: Array[0]webkitdirectory: falsewebkitdropzone: ""width: 0willValidate: true__proto__: HTMLInputElementcontext: input#ctrl_credits.textCtrl.SpinBox.numberlength: 1__proto__: n[0]_jQueryToolsOverlay: (d)_jqSerialize: ()_jqSerializeArray: ()_xfSlideWrapper: (a)add: (a,b)addBack: (a)addClass: (a)after: ()ajaxComplete: (a)ajaxError: (a)ajaxSend: (a)ajaxStart: (a)ajaxStop: (a)ajaxSuccess: (a)andSelf: ()animate: (a,b,c,d)append: ()appendTo: (a)attr: (a,b)autoscroll: (n)before: ()bind: (a,b,c)blur: (a,c)change: (a,c)children: (c,d)clearQueue: (a)click: (a,c)clone: (a,b)closest: (a,b)collapseSelection: ()constructor: (a,b)contents: (c,d)contextmenu: (a,c)coords: (a,b)css: (a,b)data: (t)dataOrDefault: (a,b)dateinput: (b)dblclick: (a,c)delay: (a,b)delegate: (a,b,c,d)deleteSelectedText: ()deleteText: ()dequeue: (a)detach: (a)die: (t,n)domManip: (a,b)drag: (c)each: (a,b)empty: ()end: ()eq: (a)error: ()expose: (b)extend: ()extractSelectedText: ()fadeIn: (a,c,d)fadeOut: (a,c,d)fadeTo: (a,b,c,d)fadeToggle: (a,c,d)fieldName: ()fieldValue: ()filter: (a)find: (a)finish: (a)first: ()focus: (a,c)focusin: (a,c)focusout: (a,c)get: (a)getSelection: ()has: (a)hasClass: (a)height: (d,e)hide: (a,d,e)history: (b)hover: (a,b)hoverIntent: (f,g)html: (a)ieOpacityFix: (a)index: (a)init: (t,n,a)innerHeight: (d,e)innerWidth: (d,e)insertAfter: (a)insertBefore: (a)insertText: ()is: (a)jquery: "1.11.0"keydown: (a,c)keypress: (a,c)keyup: (a,c)last: ()length: 0live: (t,n,a)load: (a,b,c)map: (a)mask: (b)mousedown: (a,c)mouseenter: (a,c)mouseleave: (a,c)mousemove: (a,c)mouseout: (a,c)mouseover: (a,c)mouseup: (a,c)mousewheel: (a)navigator: (f)next: (c,d)nextAll: (c,d)nextUntil: (c,d)not: (a)off: (a,b,c)offset: (a)offsetParent: ()on: (a,b,c,d,e)one: (a,b,c,d)outerHeight: (d,e)outerWidth: (d,e)overlay: (a)parent: (c,d)parents: (c,d)parentsUntil: (c,d)position: ()prepend: ()prependTo: (a)prev: (c,d)prevAll: (c,d)prevUntil: (c,d)promise: (a,b)prop: (a,b)push: push()pushStack: (a)queue: (a,b)rangeinput: (b)ready: (a)remove: (a,b)removeAttr: (a)removeClass: (a)removeData: (a)removeProp: (a)replaceAll: (a)replaceSelectedText: ()replaceWith: ()resize: (a,c)scroll: (a,c)scrollLeft: (d)scrollTop: (d)scrollable: (d)select: (a,c)selector: ""serialize: ()serializeArray: ()setSelection: ()show: (a,d,e)siblings: (c,d)size: ()slice: ()slideDown: (a,c,d)slideToggle: (a,c,d)slideUp: (a,c,d)sort: sort()splice: splice()stop: (a,b,c)strval: ()submit: (a,c)surroundSelectedText: ()tabs: (c,b)text: (a)toArray: ()toggle: (t,n)toggleClass: (a,b)tooltip: (d)trigger: (a,b)triggerHandler: (a,b)unbind: (a,b)undelegate: (a,b,c)uniqueId: ()unload: (a,c)unwrap: ()val: (a)width: (d,e)wrap: (a)wrapAll: (a)wrapInner: (a)xfActivate: ()xfFadeDown: (a,b)xfFadeIn: (a,b)xfFadeOut: (a,b)xfFadeUp: (a,b,c,e)xfHide: (a,b)xfInsert: (a,b,d,e,f)xfRemove: (a,b,d,e)xfShow: (a,b)xfSlideDown: (a,b)xfSlideIn: (a,b,c)xfSlideOut: (a,b,c)xfSlideUp: (a,b)__proto__: Object
    Any ideas? :/
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Only the author of the add-on can help with a fix.

    You will need to try contacting them again or to wait for them to respond.
     
    Alexander Firth likes this.
  3. Alexander Firth

    Alexander Firth Active Member

    Figured as much, worth a try though.
     

Share This Page