Adding multiple DHCP-clients not straight forward

When adding a new DHCP-client and hitting the “Add” button, the mask does not give way to the next new entry, but stays with already typed data and option Edit an existing lease, see screenshot attached.


Only after hitting the Update button - although nothing needs to be updated - I get back to the option Add a new fixed lease. And the fields are not empty, but have still the previous data filled in. Browser is Chrome on WIndows 11, IPFire Core 197.

1st you add it from the list

Then you see it on the list below, but still have to press UPDATE. In my case it was relevant because I wanted to change the IP.

After hitting Update again it still shows as input, albeit with the new IP, despite being in the list with the new IP below, outside the image.

and there it sits, not clearing the fields for some other addition…

Yeah it does that… perhaps there is a reason, but I can verify that. A tiny oddity.

Also made sure the browser settings was not blocking anything, my IPFire is a trusted site.

2 Likes

I’ve already mentioned this strange behavior.

Actually, there are two ways to add a Fixed lease:
Either from a dynamic lease assigned using the “Add” button,
Or directly in the form and click the “Add” button.

In both cases, the page refreshes to allow you to modify the record (especially the address when adding from the list of dynamic leases) using the “Update” button.

The record is added (or modified) in all cases.

But you have to click on “Update” to enter the next record

Just something to be aware of.

1 Like

Historically what would happen is that when you had added a new entry it would put it in that top line but it would make the whole line yellow. When you then pressed update it would remove the yellow colour and place the entry in the correct location depending on whether the IP Address libnne or the MAC Address line had been selected for sorting. The default is the IP Address.

Since a year or so, when some updates were made to the code the colour coding commands are no longer being followed, even though the commands are still there. Something, probably in the html5 requirements has changed and the old syntax is now ignored.

This is on the list of things to be worked on but it all takes time.

2 Likes

Actually I added new ones, not on/from the list. But indeed just a tiny oddity :innocent:

It is done like that for both new fixed leases and dynamic ones being upgraded to fixed.

1 Like