We have a number input on the second tab of a view. The input must be able to handle null vs. 0, so we added a ‘x’ to the right end of the input. This button will clear the text out of the input. We would like the control to initialize with no text, however when the control is not visible when we create it, the text defaults to 0 instead of null when it is finally rendered. As you can see from this I am initializing the control with decimal set to null. If you remove the class=’hidden’ from the html and re-run it, everything works as expected. Is this a bug, or is there any way to know when the control has been rendered so I can call setDecimal and remove the text?
Thanks.