Commit 12d97c10 by Julien Jorry

Fix error on some flux with no expediteur or destinataire

parent b10ac4fc
...@@ -2145,4 +2145,13 @@ ...@@ -2145,4 +2145,13 @@
-webkit-transition: none; -webkit-transition: none;
-o-transition: unset; -o-transition: unset;
transition: none; 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 @@ ...@@ -15,7 +15,7 @@
"/build/admin.15535d30.js" "/build/admin.15535d30.js"
], ],
"css": [ "css": [
"/build/admin.87a6bc21.css" "/build/admin.5dc0eea7.css"
] ]
} }
} }
......
{ {
"build/app.css": "/build/app.1fb37df4.css", "build/app.css": "/build/app.1fb37df4.css",
"build/app.js": "/build/app.7a6d9f95.js", "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/admin.js": "/build/admin.15535d30.js",
"build/runtime.js": "/build/runtime.6ad5c9da.js", "build/runtime.js": "/build/runtime.6ad5c9da.js",
"build/images/fa-solid-900.svg": "/build/images/fa-solid-900.a838c42a.svg", "build/images/fa-solid-900.svg": "/build/images/fa-solid-900.a838c42a.svg",
......
...@@ -176,11 +176,13 @@ abstract class Flux implements FluxInterface ...@@ -176,11 +176,13 @@ abstract class Flux implements FluxInterface
protected $data; protected $data;
/** /**
* @Assert\NotBlank
* @Groups({"read", "write"}) * @Groups({"read", "write"})
*/ */
protected $expediteur = null; protected $expediteur = null;
/** /**
* @Assert\NotBlank
* @Groups({"read", "write"}) * @Groups({"read", "write"})
*/ */
protected $destinataire = null; 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