data-placeholder-text-single - clobbers all placeholders on the page
See original GitHub issueUsing 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"
class="form-control"
data-placeholder-text-single="'{[{'I am a placehlder' | translate }]}'"
ng-options="option as (option.display_name | capitalize) for option in dropdown.distanceToHubOptions track by option.name"
ng-model="distanceToHub"
ng-change="updatePODetails(distanceToHub.name, 'distance_to_hub')">
<option value=""></option>
</select>
<select chosen="chosenOptions"
class="form-control"
data-placeholder-text-single="'{[{'I am another placehlder' | translate }]}'"
ng-options="option as (option.display_name | capitalize) for option in dropdown.publicTransportationOptions track by option.name"
ng-model="publicTransportation"
ng-change="updatePODetails(publicTransportation.name, 'public_transportation')">
<option value=""></option>
</select>
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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!
No worries! It’s quite more work, but at least work.