I used successfully @aaronksaunders tutorial to create a modal window and fill and save the content.
note: it is an continuation of the example use this component directly in their template from the docs
however now I have another modal window which content is only available later (in the onMounted
event of the parent). hence every time I want to open the modal window the first time all the content values are empty. the second time it works. somehow I can’t fix this lifeCycle problem
I update all the values in the click method and they should in fact be upToDate every time but since in the template of the parent the line which shows the insertion of the Modal window in the parent
<EditWeather :is-open="editFieldWeather.show" :clouds="editFieldWeather.clouds" />
is created when the parent is created editFieldWeather.clouds
is always empty the first time I open the modal window. the parameter doesn’t hand over the current value somehow. can someone help me?