Closed (fixed)
Project:
International Phone Field
Version:
8.x-1.0
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2017 at 10:25 UTC
Updated:
23 Jul 2019 at 04:59 UTC
Jump to comment: Most recent, Most recent file

Comments
Comment #2
mqannehChanged field label from street into Phone number
Comment #3
mqannehComment #4
mqannehComment #5
mqannehComment #6
riddhi.addweb commented@mqanneh, Thanks for the correction, It works well for me As I checked it using Simplytest.me also attached screenshot for same.
Comment #7
hugronaphor commentedThere is no need at all to add #title nor #description property!
Just remove those and you're going to get the configured values from the field instance.
Comment #8
mqanneh@hugronaphor kindly check the patch again. The patch didn't add #title or #description properties it just changed the #title value as below:
Comment #9
hugronaphor commentedYes, I do understand this.
But what if I want to have the label as "Telephone"? It should have the title I've configured on my field in UI.
It should be something like:
#title is already populated in $element
Comment #10
randell commentedI created a patch based on Comment #9, which I've also tested on Drupal 8.5.5. It works the way regular field labels should work, which should be updatable.
Comment #11
hitchshockIt's working for me.
Comment #12
randell commentedWhat's the next step in getting this patch released ?
Comment #14
mayurjadhav commented