Fixes #2351 : add Inventory support and solve some bugs
Fixes #2453 : Don't accept required empty field