Skip to content

Address autocomplete #1372

@naps62

Description

@naps62

Create a new AddressInput field that behaves as a text input with autocomplete. This should be fed information from the backend with all addresses & their aliases. It should behave seamlessly as an input in forms where addresses are requested (e.g.: ETH transfer forms, contract ABI calls)

  • Setup a generic AutocompleteTextInput field on @ethui/ui, where the callbacks for fetching data can be provided as props. This will allow us to later reuse the same component for autocompleting other things (such as transaction hashes, contract names, etc). This field should work inside of a Form element (needs to use useFormContext)
  • Create an AddressAutocompleteTextInput on ethui that wraps the generic one, with callbacks to tauri for autocompleting with addresses/aliases
  • Create the tauri backend commands for feeding these autocomplete inputs
  • Replace address fields in Contract calls
  • Replace address fields in transform forms

Metadata

Metadata

Assignees

Labels

E-epicA broad feature involving multiple parts (to break down into smaller issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions