CartoDB / airship

A design library for building Location Intelligence applications.
https://carto.com/developers/airship/
BSD 3-Clause "New" or "Revised" License
75 stars 14 forks source link

Remove checked attribute in swtich component #554

Open ramiroaznar opened 5 years ago

ramiroaznar commented 5 years ago

Problem checked property is not updated (remove/add it) when the switch event is triggered. In order to bypass this issue, I have to check event.detail true or false output.

Proposed solution checked property should be removed/added after switch event.

Extra info ...

cc @ivanmalagon @rjimenezda

rjimenezda commented 5 years ago

I think this is a matter of adding a parameter to the decorator of the prop so that it's synced