re: A JavaScript-Free Frontend VIEW POST

FULL DISCUSSION
 

This is awesome! Thanks for the great write-up!

Why can't we have a standard search element that filters a list on the client side (similar to how ng-repeat | filter: worked on Angular 1)?

I believe you are looking for a datalist element:

<label for="myBrowser">Choose a browser from this list:</label>
<input list="browsers" id="myBrowser" name="myBrowser" />
<datalist id="browsers">
  <option value="Chrome">
  <option value="Firefox">
  <option value="Internet Explorer">
  <option value="Opera">
  <option value="Safari">
  <option value="Microsoft Edge">
</datalist>

The ability to do the modal/checkbox trick above without it feeling like a hack and writing weird CSS.

Totally agree. There is the not-fully-supported dialog element. But it still takes some js to show and hide.

code of conduct - report abuse