Number Input Disabled when No Value and Included FlexViewer

Posted by: tkchung23 on 8 October 2019, 4:39 am EST

  • Posted 8 October 2019, 4:39 am EST

    Dear all, I am using the Wijmo Library 5.20173.405 and AngularJS. And facing the issue:

    The number input control can be added the value when press the spinner + button even the oringal value is null or not. However, after I added the FlexViewer in _Layout.cshtml, the number input control spinner will be disabled after init if the value is null.

    The code as below:

    Layout.cshtml

       
    @Html.C1().Styles()
    @Html.C1().Scripts().FlexViewer()
    
    

    Number Input html

    
     <wj-input-number 
    	ng-init="init()"
    	type="number"
            is-required="false"
    	show-spinner="true"
    />
    
    

    Can anyone helps? I enclosed the screen record named “NumberInput_C1_FlexViewer.zip”. Thanks.

    NumberInput_C1_FlexViewer.zip

  • Posted 9 October 2019, 4:37 am EST

    Hello,

    The issue is because as you add the Scripts for MVC Controls using the @Html.C1()*, the older version gets loaded and causes the issue for InputNumber.

    Hence, we recommend you to use the Wijmo ReportViewer instead of the C1MVC report viewer to avoid this issue or upgrade the MVC Controls version to 2018v1.

    Regards,

    Manish Gupta

    Refer to the sample<ReportViewer-Wijmo.zip>

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels