[#960] Fixed edit input  and empty tab broken

@rumca