Cartodb: Edit field in Custom Value dropdowns

Created on 11 Jul 2017  Â·  9Comments  Â·  Source: CartoDB/cartodb

Context

Based on @ztephm comments on https://github.com/CartoDB/cartodb/issues/11903 we need to enable a field edit feature in the Custom Value dropdowns that enables users to edit the field and not only rewriting it from scratch.

image

Steps to Reproduce

  1. Look for a Custom Value dropdown (e.g. in infowindows)
  2. Try to edit a previous value

Current Result

No way to edit the field without rewriting it entirely

Expected result

Be able to edit the content, like, for example, in the table view.

Frontend bug

Most helpful comment

On production

All 9 comments

Don't you think it should start in design, trying to find a way to do it, and then move it to development?

Also I have doubts about if it should be tackled in the response team...

This is a bug, as the component was originally designed to be editable. But summoning @urbanphes so he can shed more light.

cc @saleiva

There is nothing else to design. When you've entered a custom value, you should be able to edit it by editing the content of the input directly. That would be reflected on the dropdown as well.

When you enter a custom value and it is applied, it is not a custom value anymore!. So it is not that easy to edit it.

For the dropdown component clicking on the already written value an filling the text field with it (so you're able to edit it) should work. That said, I can't find a reason for using that component in Geometry edition; you should be able to directly edit the value in the text field itself, right?

@noguerol remember that functionality of autocompleting is very useful when working on categorized maps – which is quite common when creating datasets from scratch

True. Then we can fix the component as I said.

On production

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ivanmalagon picture ivanmalagon  Â·  3Comments

arianaescobar picture arianaescobar  Â·  4Comments

atlefren picture atlefren  Â·  3Comments

arianaescobar picture arianaescobar  Â·  5Comments

santisaez picture santisaez  Â·  5Comments