Actions
Bug #26441
closedDefault value for date column not set to React component
Difficulty:
trivial
Triaged:
Yes
Pull request:
Description
We are calling the mounter in application_helper using:
# NOTE the default: _('N/A') part
mount_react_component(component, "##{date_id}", { date: time.try(:iso8601), default: _('N/A'), seconds: seconds }.to_json, { :flatten_data => true })
But all the components are expecting `defaultValue` instead.
Actions