Commit 12d97c10 by Julien Jorry

Fix error on some flux with no expediteur or destinataire

parent b10ac4fc
......@@ -2146,3 +2146,12 @@
-o-transition: unset;
transition: none;
}
/* For fixing bug in admin on select not display => no error on required select fields
https://github.com/sonata-project/SonataAdminBundle/issues/4022
*/
.sonata-ba-content select[tabindex='-1']{
display:block !important;
width: 0.1px !important;
height: 0.1px !important;
opacity: 0.01 !important;
}
\ No newline at end of file
......@@ -15,7 +15,7 @@
"/build/admin.15535d30.js"
],
"css": [
"/build/admin.87a6bc21.css"
"/build/admin.5dc0eea7.css"
]
}
}
......
{
"build/app.css": "/build/app.1fb37df4.css",
"build/app.js": "/build/app.7a6d9f95.js",
"build/admin.css": "/build/admin.87a6bc21.css",
"build/admin.css": "/build/admin.5dc0eea7.css",
"build/admin.js": "/build/admin.15535d30.js",
"build/runtime.js": "/build/runtime.6ad5c9da.js",
"build/images/fa-solid-900.svg": "/build/images/fa-solid-900.a838c42a.svg",
......
......@@ -176,11 +176,13 @@ abstract class Flux implements FluxInterface
protected $data;
/**
* @Assert\NotBlank
* @Groups({"read", "write"})
*/
protected $expediteur = null;
/**
* @Assert\NotBlank
* @Groups({"read", "write"})
*/
protected $destinataire = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment