فهرست منبع

placeholder?: string;

visuddhinanda 2 سال پیش
والد
کامیت
8d7ce2c8f3
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      dashboard/src/components/channel/ChannelSelect.tsx

+ 3 - 0
dashboard/src/components/channel/ChannelSelect.tsx

@@ -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>(