Posted 7 August 2018, 5:46 am EST
I am using the react controls and am trying to set an InputDate using the monthly view. When I set the control it continues to show the daily view. I tried using selectionMode=‘Month’ and selectionMode={2} Here’s the jsx code.
<InputDate
id="mmPeriodDate"
min={ this.state.minDate }
max={ this.state.maxDate }
valueChanged={ this.mmPeriodDateChanged }
value={this.state.marketingMaterial.periodDate}
format='MMM yyyy'
selectionMode='Month' />