I have a claims defined as follows
<ClaimType Id="Id">
<DisplayName>Patient Identitfier</DisplayName>
<DataType>string</DataType>
<UserInputType>TextBox</UserInputType>
</ClaimType>
<ClaimType Id="ValidationMethod">
<DisplayName>Send validation code by</DisplayName>
<DataType>string</DataType>
<UserHelpText>Add help text here</UserHelpText>
<UserInputType>RadioSingleSelect</UserInputType>
<Restriction>
<Enumeration Text="Email" Value="Email" SelectByDefault="true" />
<Enumeration Text="Mobile" Value="Mobile" SelectByDefault="false" />
<Enumeration Text="Landline" Value="Landline" SelectByDefault="false" />
</Restriction>
</ClaimType>
<ClaimType Id="DateOfBirth">
<DisplayName>Date of Birth</DisplayName>
<DataType>date</DataType>
<UserHelpText>Add help text here</UserHelpText>
<UserInputType>DateTimeDropdown</UserInputType>
</ClaimType>
When using it in a DisplayControl (or as a DisplayClaim in a technical profile using a display control) e.g.
<DisplayControl Id="patientRegistrationControl" UserInterfaceControlType="VerificationControl">
<InputClaims>
<!-- <InputClaim ClaimTypeReferenceId="objectId" /> -->
</InputClaims>
<DisplayClaims>
<DisplayClaim ClaimTypeReferenceId="DateOfBirth" Required="true" />
<DisplayClaim ClaimTypeReferenceId="Id" Required="true" />
<DisplayClaim ClaimTypeReferenceId="ValidationMethod" Required="true" />
<DisplayClaim ClaimTypeReferenceId="ValidationCode" ControlClaimType="VerificationCode" Required="true" />
</DisplayClaims>
<OutputClaims>
<OutputClaim ClaimTypeReferenceId="extension_IsPatient" />
<OutputClaim ClaimTypeReferenceId="extension_IsValidated" />
</OutputClaims>
<Actions>
<Action Id="SendCode">
<ValidationClaimsExchange>
<ValidationClaimsExchangeTechnicalProfile TechnicalProfileReferenceId="REST-GeneratePatientCode2" />
</ValidationClaimsExchange>
</Action>
<Action Id="VerifyCode">
<ValidationClaimsExchange>
<ValidationClaimsExchangeTechnicalProfile TechnicalProfileReferenceId="REST-VerifyAndRegisterPatient" />
</ValidationClaimsExchange>
</Action>
</Actions>
</DisplayControl>
the Date time dropdown control is rendered as normal but the selected value is not posted back in the form. E.g. when pressing the Send the body is &Id=2313123&ValidationMethod=Mobile The DateOfBirth value is nowhere to be seen.
If I change UserInpurType on the DatOfBirth claim to TextBox the value is passed.
Is this a known issue/limitation?