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.
Updated by The Foreman Bot over 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6617 added
Updated by Ondřej Ezr over 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset e012ca97561bc632920f0e78a67ceb3d473bbae8.
Updated by Tomer Brisker over 5 years ago
- Related to Feature #19047: Unify the way how we display dates added
Updated by Tomer Brisker over 5 years ago
- Related to Feature #21312: Foreman should provide react components for formatting dates added
Updated by Tomer Brisker over 5 years ago
- Related to deleted (Feature #19047: Unify the way how we display dates)
Updated by Tomer Brisker over 5 years ago
- Fixed in Releases 1.21.1, 1.22.0 added
Actions