You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After adding HTML validation to viewer-sinatra, some attributes had to be removed in order for the validation to pass. The “Search by country name” hint text now is missing from the search input on the homepage as a result of this.
Since the text input (generated by selectToAutocomplete) uses copy-attributes-to-text-field to soak up whatever HTML attributes the source <select> element had. I guess, a satisfactory solution if we still want W3C compliant markup, would be to add the placeholder attribute back in with JavaScript, immediately before we call . selectToAutocomplete() in main.js.
-- Zarino.
Acceptance Criteria
The hint text is visible again in the search input on the homepage.
The text was updated successfully, but these errors were encountered:
octopusinvitro
changed the title
MAke the hint text visible again
Make the hint text visible again
Sep 21, 2016
Problem
After adding HTML validation to viewer-sinatra, some attributes had to be removed in order for the validation to pass. The “Search by country name” hint text now is missing from the search input on the homepage as a result of this.
Before:
After:
(Images by @zarino )
Proposed Solution
Acceptance Criteria
The hint text is visible again in the search input on the homepage.
The text was updated successfully, but these errors were encountered: