mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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
|
||||
@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) {
|
||||
this._item = item;
|
||||
if (item) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user