frappe-ui icon indicating copy to clipboard operation
frappe-ui copied to clipboard

chore: define component prop types & expose Autocomplete's root element

Open ruchamahabal opened this issue 5 months ago • 1 comments

Basic prop type info was missing for components (not typescript at the moment). Added it for:

  • Autocomplete
  • Date components (DatePicker, DateTimePicker, DateRangePicker)
  • FileUploader
  • Card

Also, exposing the root element of Autocomplete for controlling it from the parent component. I need access to template refs (for, you know what...). Accessing $el in this case references a TEXT_NODE, so exposing it explicitly.

ruchamahabal avatar Sep 19 '24 11:09 ruchamahabal