Is it possible to implement HasOne relationship in Registration page?

I am trying to register the user with overriding default Register pages to have Wizard and Fieldset. Is it possible or not?

Forms\Components\Fieldset::make()
    ->relationship('userDetail')
    ->schema([
        Wizard\Step::make('Data Diri')
            ->schema([
                Forms\Components\TextInput::make('name')
                    ->label('Nama Lengkap')
                    ->required(),
                Forms\Components\Select::make('province_id')
                    ->label('Provinsi')
                    ->options([]),
            ]),
    ]),
Was this page helpful?