зеркало из https://github.com/mozilla/normandy.git
Fix form validation errors messages
This commit is contained in:
Родитель
2ea7cec780
Коммит
0c5ec266e6
|
@ -19,7 +19,7 @@ import {
|
|||
},
|
||||
)
|
||||
@autobind
|
||||
export default class CreateExtensionPage extends React.PureComponent {
|
||||
export default class CreateExtensionPage extends React.Component {
|
||||
static propTypes = {
|
||||
createExtension: PropTypes.func.isRequired,
|
||||
push: PropTypes.func.isRequired,
|
||||
|
|
|
@ -30,7 +30,7 @@ import { addSessionView as addSessionViewAction } from 'control/state/app/sessio
|
|||
},
|
||||
)
|
||||
@autobind
|
||||
export default class EditExtensionPage extends React.PureComponent {
|
||||
export default class EditExtensionPage extends React.Component {
|
||||
static propTypes = {
|
||||
extension: PropTypes.instanceOf(Map).isRequired,
|
||||
extensionId: PropTypes.number.isRequired,
|
||||
|
|
|
@ -6,7 +6,7 @@ import React from 'react';
|
|||
import FormItem from 'control/components/forms/FormItem';
|
||||
|
||||
|
||||
export default class ConsoleLogFields extends React.PureComponent {
|
||||
export default class ConsoleLogFields extends React.Component {
|
||||
static propTypes = {
|
||||
disabled: PropTypes.bool,
|
||||
recipeArguments: PropTypes.instanceOf(Map),
|
||||
|
|
|
@ -17,7 +17,7 @@ import { createRecipe as createAction } from 'control/state/app/recipes/actions'
|
|||
},
|
||||
)
|
||||
@autobind
|
||||
export default class CreateRecipePage extends React.PureComponent {
|
||||
export default class CreateRecipePage extends React.Component {
|
||||
static propTypes = {
|
||||
createRecipe: PropTypes.func.isRequired,
|
||||
push: PropTypes.func.isRequired,
|
||||
|
|
|
@ -33,7 +33,7 @@ import { getUrlParamAsInt } from 'control/state/router/selectors';
|
|||
},
|
||||
)
|
||||
@autobind
|
||||
export default class EditRecipePage extends React.PureComponent {
|
||||
export default class EditRecipePage extends React.Component {
|
||||
static propTypes = {
|
||||
addSessionView: PropTypes.func.isRequired,
|
||||
updateRecipe: PropTypes.func.isRequired,
|
||||
|
|
|
@ -10,7 +10,7 @@ import ExtensionSelect from 'control/components/extensions/ExtensionSelect';
|
|||
import { connectFormProps } from 'control/utils/forms';
|
||||
|
||||
@connectFormProps
|
||||
export default class OptOutStudyFields extends React.PureComponent {
|
||||
export default class OptOutStudyFields extends React.Component {
|
||||
static propTypes = {
|
||||
disabled: PropTypes.bool,
|
||||
recipeArguments: PropTypes.instanceOf(Map).isRequired,
|
||||
|
|
|
@ -11,7 +11,7 @@ import { connectFormProps } from 'control/utils/forms';
|
|||
|
||||
|
||||
@connectFormProps
|
||||
export default class PreferenceExperimentFields extends React.PureComponent {
|
||||
export default class PreferenceExperimentFields extends React.Component {
|
||||
static propTypes = {
|
||||
disabled: PropTypes.bool,
|
||||
form: PropTypes.object.isRequired,
|
||||
|
|
|
@ -11,7 +11,7 @@ import { connectFormProps } from 'control/utils/forms';
|
|||
|
||||
|
||||
@connectFormProps
|
||||
export default class ShowHeartbeatFields extends React.PureComponent {
|
||||
export default class ShowHeartbeatFields extends React.Component {
|
||||
static propTypes = {
|
||||
disabled: PropTypes.bool,
|
||||
form: PropTypes.object.isRequired,
|
||||
|
|
Загрузка…
Ссылка в новой задаче