|
@@ -17,6 +17,7 @@ interface IWidget {
|
|
|
label?: string;
|
|
label?: string;
|
|
|
parentChannelId?: string;
|
|
parentChannelId?: string;
|
|
|
parentStudioId?: string;
|
|
parentStudioId?: string;
|
|
|
|
|
+ placeholder?: string;
|
|
|
onSelect?: Function;
|
|
onSelect?: Function;
|
|
|
}
|
|
}
|
|
|
const ChannelSelectWidget = ({
|
|
const ChannelSelectWidget = ({
|
|
@@ -27,6 +28,7 @@ const ChannelSelectWidget = ({
|
|
|
label,
|
|
label,
|
|
|
parentChannelId,
|
|
parentChannelId,
|
|
|
parentStudioId,
|
|
parentStudioId,
|
|
|
|
|
+ placeholder,
|
|
|
onSelect,
|
|
onSelect,
|
|
|
}: IWidget) => {
|
|
}: IWidget) => {
|
|
|
return (
|
|
return (
|
|
@@ -35,6 +37,7 @@ const ChannelSelectWidget = ({
|
|
|
name={name}
|
|
name={name}
|
|
|
tooltip={tooltip}
|
|
tooltip={tooltip}
|
|
|
label={label}
|
|
label={label}
|
|
|
|
|
+ placeholder={placeholder}
|
|
|
request={async ({ keyWords }) => {
|
|
request={async ({ keyWords }) => {
|
|
|
console.log("keyWord", keyWords);
|
|
console.log("keyWord", keyWords);
|
|
|
const json = await get<IApiResponseChannelList>(
|
|
const json = await get<IApiResponseChannelList>(
|