Required property is not marked as required when saving form
### Describe The Bug

I have the following config schema json. When I display the subsection, then the `name` field should be required. This worked in previous beta versions, with the "!" displayed next to the `Save` button, and the `Save` button disabled if using strict validation.
```
  "schema": {
    "type": "object",
    "properties": {
      "devices": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "showSubSection": {
              "title": "Show Sub Section",
              "type": "boolean"
            },
            "subSection": {
              "title": "Sub Section",
              "type": "object",
              "properties": {
                "name": {
                  "title": "Name",
                  "type": "string"
                },
              },
              "condition": {
                "functionBody": "return model.devices[arrayIndices].showSubSection === true;"
              }
            }
          },
          {
            "if": {
              "properties": {
                "showSubSection": { "const": true }
              },
              "required": [ "showSubSection" ]
            },
            "then": {
              "properties": {
                "subSection": {
                  "required": [ "name" ]
                }
              }
            }
          }
        }
      }
    }
  }
```
Now, the green check mark is displayed and the `Save` button is enabled, even if the `name` field is empty.


### Logs

_No response_

### Config

_No response_

### Homebridge UI Version

v4.62.1-beta.16

### Homebridge Version

v1.8.5

### Node.js Version

22.9.0

### Operating System

macOS

### Environment Info

Using hb-service

### Raspberry Pi Model

None