taipydata25 / selector.jsonl
thanhnew2001's picture
Create selector.jsonl
3b53462
{"prompt": "Create basic selector", "Markdown code": "<|{value}|selector|lov=Option 1;Option 2;Option 3|>"}
{"prompt": "Set up dropdown selector", "Markdown code": "<|{value}|selector|lov=Item A;Item B;Item C|dropdown|>"}
{"prompt": "Design selector with filter", "Markdown code": "<|{value}|selector|lov=Choice 1;Choice 2;Choice 3|filter|multiple|>"}
{"prompt": "Implement selector for id selection", "Markdown code": "<|{sel}|selector|lov={[('id1', 'Label 1'), ('id2', Icon('/images/icon.png', 'Label 2'))]}|>"}
{"prompt": "Configure selector for user picking", "Markdown code": "<|{user_sel}|selector|lov={users}|type=User|adapter=lambda u: (u.id, u.name)|>"}
{"prompt": "Create selector with custom width", "Markdown code": "<|{value}|selector|lov=Category 1;Category 2;Category 3|width='400px'|label='Categories'|multiple|>"}
{"prompt": "Set up selector with custom height", "Markdown code": "<|{value}|selector|lov=Group A;Group B;Group C|dropdown|height='150px'|>"}
{"prompt": "Design selector with identifier", "Markdown code": "<|{value}|selector|lov=Type 1;Type 2;Type 3|filter|id='type-selector'|>"}
{"prompt": "Implement selector with hover text", "Markdown code": "<|{value}|selector|lov=Level 1;Level 2;Level 3|class_name='custom-selector'|hover_text='Select Level'|multiple|>"}
{"prompt": "Configure selector with icons", "Markdown code": "<|{sel}|selector|lov={[('id1', Icon('/icons/icon1.png', 'Option 1')), ('id2', 'Option 2')]}|adapter=lambda x: (x.id, x.label)|>"}
{"prompt": "Create selector with label", "Markdown code": "<|{value}|selector|lov=Color 1;Color 2;Color 3|width='250px'|label='Select Color'|>"}
{"prompt": "Set up selector with hover text", "Markdown code": "<|{value}|selector|lov=Team A;Team B;Team C|dropdown|height='200px'|hover_text='Choose a Team'|>"}
{"prompt": "Design multi-select selector", "Markdown code": "<|{value}|selector|lov=Product 1;Product 2;Product 3|filter|multiple|id='product-selector'|>"}
{"prompt": "Implement user selector with class", "Markdown code": "<|{user_sel}|selector|lov={users}|type=User|adapter=lambda u: (u.id, u.name)|class_name='user-selector'|>"}
{"prompt": "Configure dropdown city selector", "Markdown code": "<|{value}|selector|lov=City 1;City 2;City 3|dropdown|label='Choose City'|>"}
{"prompt": "Create id-selector with width", "Markdown code": "<|{sel}|selector|lov={[('id1', 'Label 1'), ('id2', Icon('/images/icon2.png', 'Label 2'))]}|width='300px'|>"}
{"prompt": "Set up filterable selector", "Markdown code": "<|{value}|selector|lov=Option A;Option B;Option C|filter|height='150px'|hover_text='Select an Option'|>"}
{"prompt": "Design multi-size selector", "Markdown code": "<|{value}|selector|lov=Size Small;Size Medium;Size Large|multiple|id='size-selector'|class_name='size-selector'|>"}
{"prompt": "Implement icon option selector", "Markdown code": "<|{sel}|selector|lov={[('id1', Icon('/icons/icon1.png', 'Option 1')), ('id2', 'Option 2')]}|adapter=lambda x: (x.id, x.label)|label='Select Option'|>"}
{"prompt": "Configure active country selector", "Markdown code": "<|{value}|selector|lov=Country 1;Country 2;Country 3|dropdown|active=True|>"}
{"prompt": "Create selector with string options", "Markdown code": "<|{createOption}|selector|lov=Option 1;Option 2;Option 3|>"}
{"prompt": "Add selector with dropdown style", "Markdown code": "<|{addDropdown}|selector|lov=Item 1;Item 2;Item 3|dropdown|>"}
{"prompt": "Insert selector with filter feature", "Markdown code": "<|{insertFilter}|selector|lov=Filter 1;Filter 2;Filter 3|filter|>"}
{"prompt": "Display selector allowing multiple choices", "Markdown code": "<|{displayMulti}|selector|lov=Multi 1;Multi 2;Multi 3|multiple|>"}
{"prompt": "Show selector with custom class", "Markdown code": "<|{showClass}|selector|lov=Class 1;Class 2;Class 3|class_name='custom'|>"}
{"prompt": "Create selector with item icons", "Markdown code": "<|{createIcon}|selector|lov={[('id1', Icon('/icon1.png')), ('id2', 'Item 2')]}|>"}
{"prompt": "Add selector for user selection", "Markdown code": "<|{addUser}|selector|lov={users}|type=User|>"}
{"prompt": "Insert selector with specific width", "Markdown code": "<|{insertWidth}|selector|lov=Width 1;Width 2;Width 3|width='300px'|>"}
{"prompt": "Display selector with hover text", "Markdown code": "<|{displayHover}|selector|lov=Hover 1;Hover 2;Hover 3|hover_text='Select One'|>"}
{"prompt": "Show selector with dropdown & custom height", "Markdown code": "<|{showDropdownHeight}|selector|lov=Height 1;Height 2;Height 3|dropdown|height='200px'|>"}
{"prompt": "Create selector allowing item filtering", "Markdown code": "<|{createFilter}|selector|lov=Filter A;Filter B;Filter C|filter|>"}
{"prompt": "Add selector with multiple selection", "Markdown code": "<|{addMultiSelect}|selector|lov=Select 1;Select 2;Select 3|multiple|>"}
{"prompt": "Insert selector with specific identifier", "Markdown code": "<|{insertId}|selector|lov=ID 1;ID 2;ID 3|id='id-selector'|>"}
{"prompt": "Display selector for complex object selection", "Markdown code": "<|{displayComplex}|selector|lov={objects}|type=Object|>"}
{"prompt": "Show selector with custom label", "Markdown code": "<|{showLabel}|selector|lov=Label 1;Label 2;Label 3|label='Select Label'|>"}
{"prompt": "Create selector returning id from label/icon", "Markdown code": "<|{createIdReturn}|selector|lov={[('id1', 'Label 1'), ('id2', Icon('/icon.png'))]}|>"}
{"prompt": "Add selector with hover text & custom class", "Markdown code": "<|{addHoverClass}|selector|lov=HoverClass 1;HoverClass 2|hover_text='Hover here'|class_name='hover-class'|>"}
{"prompt": "Insert selector with specific width & label", "Markdown code": "<|{insertWidthLabel}|selector|lov=WidthLabel 1;WidthLabel 2|width='250px'|label='Width Label'|>"}
{"prompt": "Display selector with dropdown mode", "Markdown code": "<|{displayDropdown}|selector|lov=Dropdown 1;Dropdown 2|dropdown|>"}
{"prompt": "Show selector, filterable with custom height", "Markdown code": "<|{showFilterHeight}|selector|lov=HeightFilter 1;HeightFilter 2|filter|height='150px'|>"}
{"prompt": "Create selector with multiple & class name", "Markdown code": "<|{createMultiClass}|selector|lov=MultiClass 1;MultiClass 2|multiple|class_name='multi-class'|>"}
{"prompt": "Add selector for icon options", "Markdown code": "<|{addIconOption}|selector|lov={[('id1', Icon('/icon1.png')), ('id2', 'Option 2')]}|>"}
{"prompt": "Insert selector, active with dropdown", "Markdown code": "<|{insertActiveDropdown}|selector|lov=ActiveDropdown 1;ActiveDropdown 2|dropdown|active=True|>"}
{"prompt": "Display selector with custom label & ID", "Markdown code": "<|{displayLabelId}|selector|lov=LabelID 1;LabelID 2|label='Custom Label'|id='label-id-selector'|>"}
{"prompt": "Show selector with filter & multiple", "Markdown code": "<|{showFilterMulti}|selector|lov=FilterMulti 1;FilterMulti 2|filter|multiple|>"}
{"prompt": "Create selector, dropdown & custom class", "Markdown code": "<|{createDropdownClass}|selector|lov=DropdownClass 1;DropdownClass 2|dropdown|class_name='dropdown-class'|>"}
{"prompt": "Add selector with specific height", "Markdown code": "<|{addHeight}|selector|lov=Height 1;Height 2;Height 3|height='300px'|>"}
{"prompt": "Insert selector for specific type", "Markdown code": "<|{insertType}|selector|lov={types}|type=Type|>"}
{"prompt": "Display selector with hover & width", "Markdown code": "<|{displayHoverWidth}|selector|lov=HoverWidth 1;HoverWidth 2|hover_text='Select Width'|width='350px'|>"}
{"prompt": "Show selector, dropdown & label", "Markdown code": "<|{showDropdownLabel}|selector|lov=DropdownLabel 1;DropdownLabel 2|dropdown|label='Dropdown Label'|>"}
{"prompt": "Create selector for user selection", "Markdown code": "<|{createUserSelect}|selector|lov={users}|type=User|>"}
{"prompt": "Add selector with custom ID & class", "Markdown code": "<|{addIdClass}|selector|lov=IdClass 1;IdClass 2|id='id-class-selector'|class_name='id-class'|>"}
{"prompt": "Insert selector, filterable with ID", "Markdown code": "<|{insertFilterId}|selector|lov=FilterId 1;FilterId 2|filter|id='filter-id-selector'|>"}
{"prompt": "Display selector with multiple options", "Markdown code": "<|{displayMultiOptions}|selector|lov=MultiOpt 1;MultiOpt 2;MultiOpt 3|multiple|>"}
{"prompt": "Show selector, active & filterable", "Markdown code": "<|{showActiveFilter}|selector|lov=ActiveFilter 1;ActiveFilter 2|active=True|filter|>"}
{"prompt": "Create selector with dropdown & height", "Markdown code": "<|{createDropdownHeight}|selector|lov=DropdownHeight 1;DropdownHeight 2|dropdown|height='250px'|>"}
{"prompt": "Add selector for icon selection", "Markdown code": "<|{addIconSelect}|selector|lov={[('id1', Icon('/icon1.png', 'Icon 1')), ('id2', 'Icon 2')]}|>"}
{"prompt": "Insert selector, custom width & filter", "Markdown code": "<|{insertWidthFilter}|selector|lov=WidthFilter 1;WidthFilter 2|width='200px'|filter|>"}
{"prompt": "Display selector with label & multiple", "Markdown code": "<|{displayLabelMulti}|selector|lov=LabelMulti 1;LabelMulti 2|label='Label Multiple'|multiple|>"}
{"prompt": "Show selector, dropdown & active", "Markdown code": "<|{showDropdownActive}|selector|lov=DropdownActive 1;DropdownActive 2|dropdown|active=True|>"}