enablePlaceholder() API should remain backward compatible for some time #14743
Labels
intro
Good first ticket.
squad:features
Issue to be handled by the Features team.
type:improvement
This issue reports a possible enhancement of an existing feature.
Milestone
📝 Provide a description of the improvement
enablePlaceholder()
is used more commonly than we anticipated.It's possible to introduce our change in a backward-compatible way. We just need to keep support text option passed to this helper which will set the
.placeholder
property on a passedelement
.However, using the old API should leave a notice in the dev console that you're using old API which will be replaced soon.
Note, that this console log must not appear more than once during a given page reload.
📃 Other details
If you'd like to see this improvement implemented, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: