Bug #25265
Allow using the I18n in defaultProps
Pull request:
Fixed in Releases:
Found in Releases:
Description
This will fail all tests:
```js
SearchButton.defaultProps = {
children: __('Search'),
};
```
Associated revisions
History
#1
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6162 added
#2
Updated by Ohad Levy almost 4 years ago
- Target version set to 1.21.0
- Fixed in Releases 1.21.0 added
#3
Updated by Avi Sharvit almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset abc30c699e229aaa16d04b59635ce50f0261a29e.
#4
Updated by Tomer Brisker over 3 years ago
- Category set to Internationalization
Fixes #25265 - Allow I18n in defaultProps