added new options isShowSelected and  isShowPlaceholder
build