Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

MUMPFL-81 Cleanup phone number fields #29

Merged
merged 1 commit into from
Jul 22, 2015

Conversation

timlevett
Copy link
Collaborator

  • Changes all non-zero phone numbers to optional
  • Adds trash button to non-zero phone numbers
    http://goo.gl/S2URML
  • Removes "add another" after 3 are on the screen
    http://goo.gl/RT5U3O
  • Allows you to submit an empty phone number, as long as zero is filled out
    http://goo.gl/m1BIPH
  • Doesn't save said zero phone number
  • Doesn't show an empty phone number in the view mode
    http://goo.gl/5SO10N

<option value="mobile" selected="selected">Mobile</option>
<option value="home">Home</option>
<option value="work">Work</option>
<option value="other">Other</option>
</select>

</div>
<div class='col-xs-2 no-padding'><button aria-label="Delete Phone Number" class='btn btn-default' style='top : 25px; margin-left: 10px;' ng-click='contact.phoneNumbers.splice($index, 1)' ng-if="$index !== 0"><i class='fa fa-trash'></i></a></div>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice aria-label.

@apetro apetro changed the title Cleanup phone number fields MUMPFL-81 Cleanup phone number fields Jul 22, 2015
@apetro
Copy link
Member

apetro commented Jul 22, 2015

👍

2 similar comments
@vertein
Copy link
Contributor

vertein commented Jul 22, 2015

👍

@jhanstra
Copy link
Contributor

👍

timlevett pushed a commit that referenced this pull request Jul 22, 2015
@timlevett timlevett merged commit 99eaa32 into master Jul 22, 2015
@timlevett timlevett deleted the fix_additional_phone_numbers branch July 22, 2015 19:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants