Project

General

Profile

Bug #25265

Allow using the I18n in defaultProps

Added by Avi Sharvit 11 months ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Internationalization
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

This will fail all tests:

```js
SearchButton.defaultProps = {
children: __('Search'),
};
```

Associated revisions

Revision abc30c69 (diff)
Added by Avi Sharvit 11 months ago

Fixes #25265 - Allow I18n in defaultProps

History

#1 Updated by The Foreman Bot 11 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6162 added

#2 Updated by Ohad Levy 11 months ago

  • Target version set to 1.21.0
  • Fixed in Releases 1.21.0 added

#3 Updated by Avi Sharvit 11 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Tomer Brisker 9 months ago

  • Category set to Internationalization

Also available in: Atom PDF