Closed TrebBrennan closed 7 years ago
Things that I see left here:
I've rewritten the JavaScript so that it doesn't depend on JQuery, but still works in IE8+.
I think this needs a bit of content help from @joolswood, some final testing and then we can merge.
@petronbot I also wanna tweak the vars for the input style so that it matches our other text input fields, just for consistency.
@petronbot I reckon you’ll have to get @danwhitmarsh to review your eidts; I can’t. :S
@petronbot I can take a look at this after AusDTO/dto-design-guide#25
FYI have noticed a slight glitch where this is implemented on the dta-website. If you do a search, and then hit the back button, the search query and placeholder text are drawn on top of it.
Found another item to hunt down — this is what happens when JS is disabled:
@klepas just set the variable on this line: https://github.com/AusDTO/gov-au-ui-kit/pull/432/files#diff-964067dbbd2240240a0ac21c855c873cR67
RE: @bjgordon's bug above, the JS needs to also be triggered onload not just input change.
We don't have any doco on the component yet @hannah-ustwo suggest reopening or creating a new ticket.
A plug-n-play site-search component designed to be as modular and responsive as possible.
PS... Sorry, not-sorry, for the jQuery :P