hikaya-io / hakawati

A collection of UI components
GNU General Public License v3.0
2 stars 1 forks source link

Add listener to `h-button` component so that we can enable `submit` when data is changed #296

Closed andrewtpham closed 2 years ago

andrewtpham commented 2 years ago

Is your feature request related to a problem? Please describe. This is a hakawati change that will allow us to implement this Dots FE ticket: https://github.com/hikaya-io/dots-frontend/issues/1471

This ticket will also explore creating an active h-button` so that we can reuse this across the app

Additional context The intended functionality is based on the work Timothy added in Dots FE.

ninetteadhikari commented 2 years ago

In FE we updated the dialog component to accept a prop to disable the submit button