Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

data-placeholder-text-single - clobbers all placeholders on the page

See original GitHub issue

Using data-placeholder-text-single to override the normal “select an option” text seems to clobber all placeholder texts, and also overrides any previous declared placeholder values.

The second one overrides the first declaration…

<select chosen="chosenOptions"
                                    data-placeholder-text-single="'{[{'I am a placehlder' | translate }]}'"
                                    ng-options="option as (option.display_name | capitalize) for option in dropdown.distanceToHubOptions track by"
                                    ng-change="updatePODetails(, 'distance_to_hub')">
                                <option value=""></option>

 <select chosen="chosenOptions"
                                    data-placeholder-text-single="'{[{'I am another placehlder' | translate }]}'"
                                    ng-options="option as (option.display_name | capitalize) for option in dropdown.publicTransportationOptions track by"
                                    ng-change="updatePODetails(, 'public_transportation')">
                                <option value=""></option>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

s10mcowcommented, Jun 15, 2016

Yeah, ok… Legacy code I am working to maintain and extend. Will make those changes suggested… You are welcome to close the issue. Thanks again for the help!

leocaseirocommented, Jun 15, 2016

No worries! It’s quite more work, but at least work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add, edit, or remove a placeholder on a slide layout
Add a placeholder to a PowerPoint slide to contain a picture, video, text, SmartArt graphic, screen capture, and much more.
Read more >
Advanced: Placeholders | Jira Service Management Data ...
The placeholders available are all the attributes available in the create/edit dialog. Placeholder name, Value, Description. Attribute Name, The ...
Read more >
Zendesk Support placeholders reference
Zendesk Support placeholders are containers for dynamically generated ticket and user data. The format is a data reference contained...
Read more >
placeholder - CSS: Cascading Style Sheets - MDN Web Docs
The ::placeholder CSS pseudo-element represents the placeholder ... and the input appears free of preexisting input when the page is loaded.
Read more >
Format placeholders | Google developer documentation ...
On this page · Placeholders. Placeholders in inline text; Placeholders in code blocks; Placeholder text · Explain placeholders. Single placeholder; Two or more ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found