as i am adding amenities to new room adding process so it is not adding to that room id but when i am donig in edit section of room of if getting update please some one help me in this case
@bookingassisngment
i am facing problem in adding amenities
Hello
The reason is because since you are creating a room and the room is not created yet so on that case there is no room id where you will assign the amenities,
So In a general term since the room is not created yet so even if you try to create amenity it will assign 0 to it because as I can see on the destination of add amenity button you are passing the room Id from RoomId input parameter on screen and hence it is null when you are creating a room.
And it is being passed as 0 in this case.
As a best practice I suggest to hide the amenity container when the room Id is nullidentifier
I hope this help
Best regardsTousif Khan
Hi sawan,
As Tousif pointed out that roomId is null at the time of adding amenities to your room.
So what i would suggest you to first save the room and stay on that screen and do not navigate to rooms screen, then save the id from RoomCreateOrUpdate into the roomId input var, then add the amenities
Also as tousif suggested, keep hidden the amenities container if input roomId is null.
Hope it helps.
Thanks
hi thank you so much for you support but can you please joind me on the call because i am not get it