Numeric Up/Down Spinner - how to remove

0
0

I am trying to build a dynamic form but really struggling to lose the +/- in the NumericUpDown control. I’ve tried the two solutions I could find in these forums, the JS addition and the Mixin – neither work for me.

I’m sure the issue is screaming at me but I can’t for the life of me sort it out. I’ve added a non-working sample project zipped up below. I’m using 2.1.81 of the Wisej framework.

Please help.

Attachment
  • You must to post comments
0
0

Levie,

Thanks, I’d tried that combination too but all that does is hide them, their space is still reserved. I’ve tried the InputType of Number but entry and formatting is a pain – I’ll use this until we can remove the +/-.

Cheers,

Neil

  • Levie (ITG)
    You should be able to get that behavior with maxWidth = 0, try that and let me know if it solves your issue! I’ll also log an enhancement to add a property “HideUpDownButtons” to all the spinner controls in Wisej that will make things easier in the future! -Levie
  • Neil Hoskins
    Levie – that sorted it, Works perfect now. THANK YOU! A property would be much easier though.
  • You must to post comments
0
0

BTW,

It could be useful to check out the “Themes” section in the Wisej Documentation for a list of properties and styles you can apply to the controls through mixins and the theme:

https://wisej.com/docs/2.1/html/Themes.htm

  • You must to post comments
0
0

Hi Neil,

Please try the attached mixin file and let me know if you still have issues. I’ll have to investigate why visibility is not set for the spinner’s up and down buttons.

You could also try using a TextBox with an InputType = Number.

Best,

Levie

Attachment
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.