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
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
* autocomplete: The autocomplete validator `md-require-match` no longer matches if the search text is empty
445
+
* **autocomplete:** The autocomplete validator `md-require-match` no longer matches if the search text is empty.
446
+
* **select:** `md-selected-text` now only accepts text. It used to accept and render html but this was an XSS vulnerability.
447
+
It was fixed in: block xss on md-select-label ([#10023](https://github.com/angular/material/issues/10023)) ([f7ecb4f](https://github.com/angular/material/commit/f7ecb4f)).
446
448
449
+
We have added a new `md-selected-html` API for `md-select`. It accepts an expression to be evaluated
450
+
that will return a string to be displayed as a placeholder in the select input box when it is
451
+
closed. The value will be treated as html. The value **must** either be explicitly marked as
452
+
**trustedHtml** or the **ngSanitize** module must be loaded.
0 commit comments