mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Add comment about input number not supporting initial (#13758)
This commit is contained in:
parent
589efa8cc5
commit
087a897cbe
@ -33,6 +33,8 @@ class HaInputNumberForm extends LitElement {
|
|||||||
// eslint-disable-next-line: variable-name
|
// eslint-disable-next-line: variable-name
|
||||||
@state() private _unit_of_measurement?: string;
|
@state() private _unit_of_measurement?: string;
|
||||||
|
|
||||||
|
/* Configuring initial value is intentionally not supported because the behavior
|
||||||
|
compared to restoring the value after restart is hard to explain */
|
||||||
set item(item: InputNumber) {
|
set item(item: InputNumber) {
|
||||||
this._item = item;
|
this._item = item;
|
||||||
if (item) {
|
if (item) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user