Add a default value for drop_down_list_value to avoid validation error on new type_de_champ
This commit is contained in:
parent
66ad1c0961
commit
1d67005545
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ class TypesDeChampEditor extends Component {
|
|||
type_champ: 'text',
|
||||
types_de_champ: [],
|
||||
private: props.isAnnotation,
|
||||
drop_down_list_value: '--Premier élément du menu--\n',
|
||||
libelle: `${
|
||||
props.isAnnotation ? 'Nouvelle annotation' : 'Nouveau champ'
|
||||
} ${props.typeDeChampsTypes[0][0]}`
|
||||
|
|
Loading…
Reference in a new issue