Merge pull request #3810 from tchak/create-dropdown-with-default-item
Éviter les erreurs de validation a la création du champ menu déroulant
This commit is contained in:
commit
4f1a65cd14
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