Skip to content

bug: The state/prop "multipleInputs" changed during "componentDidLoad()" #23427

@Lxstr

Description

@Lxstr

Bug Report

Ionic version:
[x] 5.x

Current behavior:
ion-item with two ion-inputs gives the following error due to whre the state multipleInputs is changed in ionic source code.

The state/prop "multipleInputs" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()" 
Element <ion-item class=​"item-multiple-inputs item-interactive item-input item md in-list ion-focusable hydrated item-label item-label-color ion-color-robo">​…​</ion-item>​ 
New value true 
Old value false

Expected behavior:
Mulitpleinputs is updated at componentWillLoad and no warning.

Steps to reproduce:
ion-item with two ion-inputs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions