#pragma once

#include "RmlUi/Core/Element.h"

namespace UI::FieldSelectOptions {

class Component : public Rml::Element {
  public:
    Component(const Rml::String &tag) : Rml::Element(tag) {}

  protected:
    void OnAttributeChange(const Rml::ElementAttributes &changed) override;

  private:
    bool built = false;

    void Build();
};

} // namespace UI::FieldSelectOptions
