Skip to content

Commit

Permalink
fix: add selected address client name
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-LHOSTE committed Jan 8, 2025
1 parent b2d8af6 commit d1aa5bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/navigation/store/components/ClientListInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function ClientListInput({
function selectAddress(address) {
onSelectAddress(address);
setHideSuggestions(true);
setValue('');
setValue(address.contactName);
}

const styles = StyleSheet.create({
Expand Down Expand Up @@ -106,6 +106,7 @@ export default function ClientListInput({
}
renderTextInput={RenderedInput}
onChangeText={handleChangeText}
clearButtonMode="while-editing"
inputContainerStyle={{
margin: 0,
padding: 0,
Expand Down

0 comments on commit d1aa5bb

Please sign in to comment.