adding more widget attributes

This commit is contained in:
paul
2024-09-27 16:04:03 +05:30
parent 7b4446d9ee
commit 77b1c5a0f0
16 changed files with 251 additions and 58 deletions

View File

@@ -252,6 +252,10 @@ const CanvasToolBar = memo(({ isOpen, widgetType, attrs = {} }) => {
showSearch
value={val.value || ""}
placeholder={`${val.label}`}
className="tw-w-full"
filterOption={(input, option) =>
(option?.label ?? '').toLowerCase().includes(input.toLowerCase())
}
onChange={(value) => handleChange(value, val.onChange)}
/>
)}