File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 230
230
*
231
231
* @description
232
232
*
233
- * Sets the `readOnly` attribute on the element, if the expression inside `ngReadonly` is truthy.
233
+ * Sets the `readonly` attribute on the element, if the expression inside `ngReadonly` is truthy.
234
+ * Note that `readonly` applies only to `input` elements with specific types. [See the input docs on
235
+ * MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-readonly) for more information.
234
236
*
235
- * A special directive is necessary because we cannot use interpolation inside the `readOnly `
237
+ * A special directive is necessary because we cannot use interpolation inside the `readonly `
236
238
* attribute. See the {@link guide/interpolation interpolation guide} for more info.
237
239
*
238
240
* @example
You can’t perform that action at this time.
0 commit comments