Questions tagged [subcomponent]

26 questions
13
votes
5 answers

Blazor InputFile reset/clear value - statehaschanged() not working

I have a component using an Blazor InputFile component as a sub-component. When I select a file the OnChange handler is called as expected. However, if I select the same file twice the OnChange handler is not called again (which I guess is as…
MSurrow
  • 1,183
  • 2
  • 9
  • 23
7
votes
1 answer

Warning: Unknown prop on <> tag. Remove this prop from the element

I'm new to react and i was learning subclasses from one of Lynda examples. I'm creating a new subcomponent class called aptList and using this.props.eachItem.ownerName to iterate through each index from the JSON file where ownerName is a property.…
Aswin
  • 493
  • 7
  • 14
6
votes
3 answers

defineExpose from component's